How to change page location at run time
<p>I have portal where lot of master page and all related page in root.</p>

<p>When user register his self then it will create a folder and copy all related file into the folder.</p>

<p>root master page and page url</p>

<pre><code>&lt;%@ Master Language="C#" AutoEventWireup="true" CodeFile="Layoutmaster.master.cs" Inherits="Layoutmaster" %&gt;

&lt;%@ Page Language="C#" MasterPageFile="~/MasterPage/Layoutmaster.master" AutoEventWireup="true" CodeFile="Home.aspx.cs" Inherits="Home" Title="Home" %&gt;
</code></pre>

<p>Folder url of master page and page</p>

<pre><code>&lt;%@ Master Language="C#" AutoEventWireup="true" CodeFile="Layoutmaster.master.cs" Inherits="Layoutmaster" %&gt;

&lt;%@ Page Language="C#" MasterPageFile="~/SubDomain/1/MasterPage/Layoutmaster.master" AutoEventWireup="true" CodeFile="Home.aspx.cs" Inherits="Home" Title="Home" %&gt;
</code></pre>

<p>I want to change the Master Page File '"~/MasterPage/Layoutmaster.master"' from 
MasterPageFile="~/SubDomain/1/MasterPage/Layoutmaster.master" Please help me to change the location I have no any idea.</p>
