0

I want to concatenate the values of two or more keys from a resource file, while assigning value to a control, something like

<asp:RequiredFieldValidator ID="rfvLeadTitle" runat="server" 
    ControlToValidate="txtLeadTitle"
    ErrorMessage="<%$ Resources:LocalizedText, PleaseEnter%>
                      <%$ Resources:LocalizedText, LeadTitle%>"  >

but, getting an error. Is it possible some way to concatenate the value of different keys from a resource file?

CharlesB
  • 86,532
  • 28
  • 194
  • 218
Narry
  • 1
  • 1

1 Answers1

0
<%# GetLocalResourceObject("ClassKey", "ResourceKey")  & GetGlobalResourceObject("ClassKey", "ResourceKey") %>

HttpContext.GetGlobalResourceObject

HttpContext.GetLocalResourceObject

cookbr
  • 125
  • 2
  • 9