I
Islamegy®
In my project i have two master page which i change dynamic in runtime.. The
first one with 1 ContentPanel "onepanel.master", the second with 2
contentPanel"twopanel.master"..
but when i switch between them it don't work, if the default masterpage is
"onepanel.master" and try to change it in runtime, ContentPanel2 which is
exist in the loaded masterpage throw exception..
the same happen if the default is "twopanel.master" and switch it throught
exception when parsing html..
Is there anyway to work around this without have 2 pages??
Second Question.. I can't find controls using FindControl When use
masterpage, i notice that my page only have one control which is the
masterpage,
if i search deeper in Controls[0].FindControl i find 2 literal and 2
HtmlHead(!!!) .
Any ideas??
first one with 1 ContentPanel "onepanel.master", the second with 2
contentPanel"twopanel.master"..
but when i switch between them it don't work, if the default masterpage is
"onepanel.master" and try to change it in runtime, ContentPanel2 which is
exist in the loaded masterpage throw exception..
the same happen if the default is "twopanel.master" and switch it throught
exception when parsing html..
Is there anyway to work around this without have 2 pages??
Second Question.. I can't find controls using FindControl When use
masterpage, i notice that my page only have one control which is the
masterpage,
if i search deeper in Controls[0].FindControl i find 2 literal and 2
HtmlHead(!!!) .
Any ideas??