locked
can we set html controls values from resource file in asp.net ? RRS feed

  • Question

  • User-262815677 posted

    can we set html controls values from resource file in asp.net ?
    for more clarification,
    i am just print year from asp.

    <span> Copyrights <%= DateTime.Now.Year.ToString() %> </span>

    i expect some think like this.

    <span> Copyrights <%= meta:resourcekey="lbl1Resource1" %> </span>

    is it possible ?

    thanks in adv.

    Thursday, October 3, 2013 6:02 AM

All replies

  • User289622470 posted

    Hi,

      You can use below format

      <%$ Resources:LocalizedText, Msg1 %>

    Thanks,

    Thursday, October 3, 2013 7:28 AM