J
John
How do I cast a type that can be a number of different calling pages in
asp.net. _Default is used in the example but it could be another page type.
Example :
_Default myPage = (_Default)this.Page;
myPage.Master.SearchMake = e.Item.ToString();
myPage.Master.SearchType= e.Item.ToString();
myPage.Master.SearchText = e.Item.ToString();
Server.Transfer("Search.aspx",true);
If the running pages is not of _Default, how do I do this?
asp.net. _Default is used in the example but it could be another page type.
Example :
_Default myPage = (_Default)this.Page;
myPage.Master.SearchMake = e.Item.ToString();
myPage.Master.SearchType= e.Item.ToString();
myPage.Master.SearchText = e.Item.ToString();
Server.Transfer("Search.aspx",true);
If the running pages is not of _Default, how do I do this?