I use a WebResources.resx to translate all strings in the Web UI. It works like:
<asp:Button ID="Button1" runat="server"
Text="<%$ Resources:WebResources, Button1Caption %>" />
But if I try to use the onClientClick-Attribute, the string will not be resolved. What's wrong? Or how can I do it right?
<asp:Button ID="Button1" runat="server"
Text="<%$ Resources:WebResources, Button1Caption %>" onClientClick="return confirm('<%$ Resources:WebResources, ConfirmThisClick %>');" />