dotnetnuke - Client Side Localization of Image Button in DNN -


how localize image button in dnn on client side. using method literal not render

<asp:imagebutton runat="server" id="submitform" onclick="addcontactorder" causesvalidation="true" cssclass="submit-button" imageurl='<%=localizestring("btnsubmit") %>' /> 

something along lines of

localizestring("btnsubmit.imageurl",localresourcefile) 

where have ascx file inheriting portalmodulebase , resx file view.ascx.resx in app_localresources (assuming using view.ascx). inside resx file define btnsubmit.imageurl is.


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -