How to set a view state in a master page?
<p>I need to check whether an event is fired from the master page or not. For that i kept a count in the viewstate . This is throwing exception on page load. I'm just calling the below line in a pageload</p>

<pre><code>Int32 count = Int32.Parse(this.ViewState["Count"].ToString());
</code></pre>

<p>Please help.</p>
