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
Post a Comment