yup. makes sense, but doesnt work.
on my host page (using a master page)
MasterPage.myPageID = Request.QueryString["PageID"];
I get the error:
'System.Web.UI.MasterPage' does not contain a definition for 'myPageID'
On the master page i have added:
<script runat="server">
public string myPageID = "0";
protected void Page_Load(object sender, EventArgs e)
{
MainMenu1.PageID = myPageID;
}
</script>
Thanks!