I have a master page with one property name event type. Now I want to set this property from a content page and then that property value should be available to another conte
I had a similar problem. Here's what I did:
//Id the form tag and place a runat server //In C# Masterpage.cs - Expose the forms properties public System.Web.UI.HtmlControls.HtmlForm Form1 { get { return form1; } set { form1 = value; } } //In C# Consuming page add this to pageLoad using UniqueId ((SiteMaster)Page.Master).Form1.DefaultButton = btnSearchUsersLink.UniqueID;