May 08, 2019 07:43 AM|rava|LINK
Hello Brando and thanks for your special suggestion!
If i understand, you suggest to continue the use of MasterPage (i prefer) but changing dinamically various sections of masterpage including this parts on a DIV tag which will contain correct html code i need.
The idea is very good but i have somes troubles:
1) I have to write all section code (head, slider, body, footer) in a jquery file ...it could be not comfortable for large code and i have no idea how to wrote "as a jquery file" because usually i use jquery as a simple script into html code.
2) I have no idea about how to call one or another Jquery file basing on the selected theme (my first objective is change theme dinamically); could i save this jquery file as a part of asp.net theme ?
3) I use foundation framework and about this i usually set columns which can adapt on the browser screen (small, medium and large). How can maintain this approach using div as placeholder ?
4) In most part of html vode i have asp.net server (<% %>) wich run only if included in aspx,ascx file ... so include it by jquery is not so easy...
The best result (for me) could be continue using one only masterpage which could dinamycally have different provisions of various page section, basing on the applyed theme...this is my goal, if is possible.
So i could have a theme with 2 column, one theme with 1 column, another theme with a sidebar into first columns etc etc...
Sorry for my objections but i would only understand and apply you suggestion in the best way possible... sorry also for my bad english...