updating second updatepanel using checkbox in first updatepanel
<p>I have two UpdatePanels. One <code>UpdatePanel</code> has a <code>CheckBox</code> and a <code>UserControl</code>. UserControl has some <code>TextBoxes</code>. In other updatepanel, there are few <code>Labels</code>. </p>

<p>I have added javascript function to checkbox to hide/show it. I am using Javascript to avoid partial postbacks to server. </p>

<p>I also want to update the second UpdatePanel when checkbox is checked/unchecked or some data is changes in user control's textboxes.  </p>

<p>Can I call javascript function as well as server side function on same checkbox ? I tried adding triggers to second updatepanel but they are not fired. </p>

<pre><code>updatepanel1
  checkbox 
  usercontrol
    textbox1
    texbox2

updatepanel2
   label1 (updated on change of textbox 1)
   label2 (updated on change of textbox 1)
</code></pre>

<p>my checkbox markupd looks like this</p>

<pre><code> &lt;asp:CheckBox ID="chkShippingSameAsBilling" runat="server" 
     Text="  Ship to same address"
     AutoPostBack="true" Checked="true" 
     onclick="return ShowShippingAddress();" 
 /&gt;
</code></pre>
