access controls on a asp.net master page from child page
<p>i want to access a span on a asp.net master page from child page, so i'd made a public property on that master page--></p>

<pre><code> public partial class Ui_MasterPage_UI : System.Web.UI.MasterPage
    {
        public int tax = 0;

        public string notification
        {
            set
            {
                (this.FindControl("notification") as HtmlAnchor).InnerText = value.ToString();
            }
        }
       ------------------//some code
    }
</code></pre>

<p>and now wants to access this from a child page to set some text into that htmlanchor tag,</p>

<p>so that i'd written some script-->                      </p>

<p><strong>child page</strong></p>

<pre><code>public partial class Ui_ProductDetails : System.Web.UI.Page
{
protected void ListView_ProductDetails_itemcommand(object sender, ListViewCommandEventArgs e)
    {
        Master.notification = "some text";            ////////showing error
 ------------------//some code       
    }
------------------//some code       
}
</code></pre>

<p>but getting the syntax error
i think there is some problem in above code,,,,,so plz review it......
is there any other way to do this ???
thnku  </p>
