c# - Set ContentPlaceHoderId from code behind? -
am using master pages specific page ( before login , after login).i dynamically managed set 2 different master pages specific page...but stil have set contentplaceholder dynamically code behind....is possible? if yes? how be?
the best way
you should create user control (before login , after login )
and set user conterol according session in code behind.
contentplaceholder placeholder = page.master.findcontrol(“contentplaceholder1″) contentplaceholder;
by getting placeholder can ever want add new control or find control in placeholder,etc.
Comments
Post a Comment