User-1518524124 posted
Is there a way to concatenate resources in inline script. For example I have the following
<asp:Label ID="Label4" Text="<%$ Resources:Labels, NOTE %>" runat="server" AssociatedControlID="spnNote"></asp:Label>
Note is Global resource used by several aspx pages. In some instances it is used as a grid header, but here it is used as a label for a Note textbox. However I would like to concatenate a colon (":") to the end of the string in this case.
Instead of having two entries in the resource file one as Note and the other as Note: , I would like to just have the one entry and then to display a colon when needed. Is this possible? I have tried the following, but it doesn't work.
Text="<%$ Resources:Labels, NOTE %> :"
I realize I can accomplish this in the code-behind, but it would be nice to be able to include this inline. Any suggestions?