You can do the following
NewPageName: ;input type="text" id="textbox1" value="" />
Location Name;input type="text" id="textbox2" value="" />
;input type="Button" value="CreatePage" id="Createpage" />
;input type="Button" value="Build" id="build" />
In creativepage.aspx.cs
add the following code:
protected void Createpage_Click(object sender, EventArgs e)
Response.Redirect("~/Createpage.aspx")
and in the solutionExplorer rightclick on the project mydemoproject -->addnew item-->webForm-->name that webform as Createpage
You can do for the other also in the same fashion