title: Pass data from a ASP.NET page to ASCX user controls loaded dynamically
body: <p>I'm developing an ASP.NET application with C# and Ajax.</p>
  
  <p>I have a page that holds user controls loaded dynamically. I need to pass some data (integer values and some strings) to the user control that has been loaded <strong>dynamically</strong>.</p>
  
  <p>Now I use Session to pass these values, but I think I can use another way; something like VIEWSTATE or hidden input.</p>
  
  <p>What do you recommend me?</p>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>The fact that I load the controls dynamically is important because controls are loaded on every postback, and I can't store any value on controls.</p>