Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
If you databind it, you could just do a regular translate:
<asp:TextBox ID="SearchText" onfocus="this.value=''" onblur="this.value='<%# Translate("/my/text") %>'" TabIndex="1" runat="server" CssClass="SearchField" Text="<%$ Resources: EPiServer, search.searchstring %>" />
Or - am I missing the point?
/Steve
Hi!
I need to localize text inside javascript code what should be executed on onblur event. That is my sample:
<asp:TextBox ID="SearchText" onfocus="this.value=''" onblur="this.value=(Here I need to get localized text from my language xml-file with translations)" TabIndex="1" runat="server" CssClass="SearchField" Text="<%$ Resources: EPiServer, search.searchstring %>" />
Thanks in advance!