asp.net - Working with resources -
there! i'm working asp.net 3.5 web-site. , have such problem: have 3 aspx pages, contain asp:label control name "labelcontent" , foreach page have 2 resx files, contain labelcontentresource.text , labelcontent binds labelcontentresource , 2 cultures. have content editing page. on page admin choses page edit , in wysiwg editor need load appropriate resorce. so:
string pageforloadname = "links.aspx.de-at.resx"; string key ="labelcontent.text"; string resvalue= loadresource(pageforloadname ,key );
how can write loadresource fnction? thanks!
try answer question
Comments
Post a Comment