Concatenating multiple resource keys and assiging to server control tag RRS feed

  • Question

  • User-712408118 posted

    Hi All,

    I am trying to assign error message concatenating values from multiple resource keys as follows:

    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtUserName" Display="None" ErrorMessage="<%$ Resources:WebResources,Label_Text_UserName%><%$ Resources:WebResources,IsRequired%>" EnableClientScript="true" >

    But this is not working out, please let me know the syntax if this is possible. I want to do it only on aspx not in code behind.

    Thanks in advance.

    Suresh Kadam.


    Thursday, July 2, 2009 10:41 AM