I am having three master pages like Master-Green, Master-Bule, Master-Red. In each master page having three buttons named as green, blue and red.
Now my default master is green,
It’s assigned a page Default.aspx. At this time three button also display on the top.
How to make so clicking “blue” button means the Master-Blue shold be master page for the current page?
<
inputtype=”submit” name=”btnGreen” value=”Green” /><
inputtype=”submit” name=”btnBlue” value=”Blue” />2.Then from the code behind you can check the name of the button clicked, in the Request object in the Page_PreInit event