get and set properties
<p>the following code in the master.cs file </p>

<pre><code>    public bool MenuIssuesManagementVisible   //defining the set false visibility property
    {
        get { return lnkIssuesManagement.Visible; }
        set { lnkIssuesManagement.Visible = value; }
    }

    public bool MenuTimeFilterVisible
    {
        get { return lnkTimeFilter.Visible; }
        set { lnkTimeFilter.Visible = value; }
    }
</code></pre>

<p>is setting a property which i use in a web content form in the following way--></p>

<pre><code>((Default)this.Master).MenuIssuesManagementVisible = false;
        ((Default)this.Master).MenuTimeFilterVisible = false;
</code></pre>

<p>but whenever i run the web content form, i get an error at the line </p>

<pre><code>Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Line 27:             set { lnkTimeFilter.Visible = value; }
</code></pre>

<p>how do i rectify that?</p>
