title: Update mode property of UpdatePanel
body: <p>Following is my ASPX code.</p>
  
  <pre><code>&lt;form id="form1" runat="server"&gt;
    &lt;div&gt;
     &lt;asp:ScriptManager ID="ScriptManager1" runat="server"&gt;&lt;/asp:ScriptManager&gt;
     &lt;asp:Label ID="Label1" runat="server" Text="Label"&gt;&lt;/asp:Label&gt;
     &lt;asp:UpdatePanel UpdateMode="Conditional" ID="UpdatePanel1" runat="server"&gt;
     &lt;ContentTemplate&gt;
       &lt;asp:Label ID="lblid" runat="server" Text="Label"&gt;&lt;/asp:Label&gt;
     &lt;/ContentTemplate&gt;
     &lt;/asp:UpdatePanel&gt;
     &lt;asp:Button ID="btnid" runat="server" Text="Button"/&gt;
    &lt;/div&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>I have one update panel control and have included single lable control inside the update panel control. I have Button and Lable outside the update panel control and during page_load I update the the text value of both the lable control as follows.</p>
  
  <pre><code>protected void Page_Load(object sender, EventArgs e)
  {
    lblid.Text = DateTime.Now.ToString();
    Label1.Text = DateTime.Now.ToString();
  }
  </code></pre>
  
  <p>I have set Update mode property to 'Conditional' so that when Button control outside the Update panel is clicked by user, It should not change the text value of lable inside the ipdate panel. But it update and diplay the changed value of label text inside the update panel. My understanding is that when we set update mode property to 'Conditional', content inside the update panel is not updated(or rendred on client side) when there is a postback due to control outside the update panel then what is happening in my case.</p>