title: Accessing Hidden field or variable from the aspx page to its child user control
body: <p>I have an master aspx page and two user controls. In user control 1, I had an Hidden field(i.e Hiddenfield1) and i'm looking to use that hidden field value in user Control2. So far this is what i have done, </p>
  
  <p>1) register usercontrol 1 in usercontrol 2 and created another hidden field in user control 2 and by using set and get, i tried to assign usercontrol1 value to hidden field in usercontrol 2, but in not worked</p>
  
  <p>code snippets:</p>
  
  <p>In user control 2:</p>
  
  <pre><code> Me.VarUC2 = Me.Usercontrol1ID.VarUC1
  </code></pre>
  
  <p>But in this one, it is returning null and VarUC1 is assigned to another local integer variable in master page. Is it possible to get VarUC2 value from variable in master page. Please let me know how to resolve this one.</p>