title: How to declare a global variable in ASP.NET MVC page
body: <p>I've began working with asp.net mvc very recently and I've ran into a problem.
  I've got an aspx page which renders a few ascx pages. What I'd like to do is declare a global var at the aspx page so it is visible to all its childs. I tried <code>&lt;% var i = 0; %&gt;</code> but it wasn't visible at the child pages.</p>
  
  <p>What could I do?</p>