The CS file using the code to replace the master page

A ASPX page, use the master a, now want to set the code in the CS file, make this page master page replacement for the parent version of the B, should be how to write it?

To different users use different parent version. Thank you heroes!

Started by Nat at November 10, 2016 - 3:00 PM

Set the master is not set property

You cannot change the properties of code?

Posted by Rodney at November 18, 2016 - 3:13 PM

In the CS file to set the master page?

Posted by Nat at November 20, 2016 - 3:54 PM

this.masterpage = ....
For a long time not to forget

Posted by Rodney at November 27, 2016 - 4:32 PM