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
You can use Master property
of your page and access to your property
Link : http://msdn.microsoft.com/fr-fr/library/system.web.ui.page.master.aspx
Sample
ContentPlaceHolder mpContentPlaceHolder;
TextBox mpTextBox;
mpContentPlaceHolder =
(ContentPlaceHolder)Master.FindControl("ContentPlaceHolder1");
if(mpContentPlaceHolder != null)
{
mpTextBox =
(TextBox) mpContentPlaceHolder.FindControl("TextBox1");
if(mpTextBox != null)
{
mpTextBox.Text = "TextBox found!";
}
}