Note that there are some explanatory texts on larger screens.

plurals
  1. POUpdate Panel not working correctly?
    text
    copied!<p>I have added two update panels to my page. I'm trying to update the first panel but not the second. The second panel contains validation controls which seem to be kicking in no matter what I try. </p> <p>Code</p> <pre><code>&lt;asp:ToolkitScriptManager runat="server" ID="ScriptManager" /&gt; &lt;asp:UpdatePanel ID="updatePnl" runat="server" UpdateMode="Conditional"&gt; &lt;ContentTemplate&gt; &lt;asp:label ID="NoConsignments" runat="server" ForeColor="red" /&gt; &lt;br /&gt; &lt;asp:TextBox ID="StartDate" runat="server" /&gt; &lt;asp:TextBox ID="EndDate" runat="server" /&gt; &lt;asp:Button ID="Dates" OnClick="btDates" runat="server" Text="Search" /&gt; &lt;asp:calendarextender ID="Calendarextender2" targetcontrolid="StartDate" Format="dd/MM/yyyy" runat="server"&gt;&lt;/asp:calendarextender&gt; &lt;asp:calendarextender ID="Calendarextender3" targetcontrolid="EndDate" Format="dd/MM/yyyy" runat="server"&gt;&lt;/asp:calendarextender&gt; &lt;/ContentTemplate&gt; &lt;Triggers&gt; &lt;asp:AsyncPostBackTrigger ControlID="Dates" /&gt; &lt;/Triggers&gt; &lt;/asp:UpdatePanel&gt; &lt;asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional"&gt; &lt;ContentTemplate&gt; &lt;/ContentTemplate&gt; &lt;/asp:UpdatePanel&gt; </code></pre> <p>I've left out some of the middle code of there is alot. If you would like any more code please let me know.</p> <p>Am I missing something? or is this not the way that update panels should be used?</p> <p>Thanks you so much for any help you can provide</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload