Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 963005
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T01:36:16+00:00 2026-05-16T01:36:16+00:00

I have added two update panels to my page. I’m trying to update the

  • 0

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.

Code

<asp:ToolkitScriptManager runat="server" ID="ScriptManager" />
  <asp:UpdatePanel ID="updatePnl" runat="server" UpdateMode="Conditional">
    <ContentTemplate>

       <asp:label ID="NoConsignments" runat="server" ForeColor="red" />
       <br />
       <asp:TextBox ID="StartDate" runat="server" />  <asp:TextBox ID="EndDate" runat="server" /> <asp:Button ID="Dates" OnClick="btDates" runat="server" Text="Search" />
       <asp:calendarextender ID="Calendarextender2" targetcontrolid="StartDate" Format="dd/MM/yyyy" runat="server"></asp:calendarextender>
      <asp:calendarextender ID="Calendarextender3" targetcontrolid="EndDate" Format="dd/MM/yyyy" runat="server"></asp:calendarextender>
   </ContentTemplate>
    <Triggers>
        <asp:AsyncPostBackTrigger ControlID="Dates" />
    </Triggers>
 </asp:UpdatePanel>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
    <ContentTemplate>
    </ContentTemplate>
    </asp:UpdatePanel>

I’ve left out some of the middle code of there is alot. If you would like any more code please let me know.

Am I missing something? or is this not the way that update panels should be used?

Thanks you so much for any help you can provide

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T01:36:17+00:00Added an answer on May 16, 2026 at 1:36 am

    I haven’t used UpdatePanels for a while, and you haven’t included the mark up for the validators in the second panel.

    However it looks to me like you might not be adding groups to your validation see this tutorial

    e.g.:

    <body>
      <form id="form1" runat="server">
        <div>
          <asp:TextBox ID="TextBox1" runat="server" ValidationGroup="First"/>
          <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                 ValidationGroup="First" ErrorMessage="TextBox1 should not be blank" 
                 ControlToValidate="TextBox1"/>
    
          <asp:Button ID="Submit1" runat="server" ValidationGroup="First"
                 Text="Submit 1"/>
    
          <asp:TextBox ID="TextBox3" runat="server" ValidationGroup="Second"/>
          <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                 ErrorMessage=" TextBox3 should not be blank" 
                 ControlToValidate="TextBox3" ValidationGroup="Second"/>
    
          <asp:Button ID="Submit2" runat="server" ValidationGroup="Second"
                 Text="Submit 2"/>
        </div>
      </form>
    </body>
    

    Hope this helps and I haven’t missed the point.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two text fields. In the first textfield I have added a calendar
I have two .m files. The first is the main code, The second is
I created one linear layout and I have added two relative layout. I wish
I have two forms in my project, form1 and form2. I have added a
I have a gridview that displays items details, I added two template fields one
My storyboard seems locked. I have added new labels and imageviews to two different
I have two models Artist and Painting . I added the following migration and
I have two UIViews, UIView1 and UIView2. UIView2 is being added as a subview
First up, apologies for the length of this question! I have a page with
I have created one gridview and use custom adapter for that. I added two

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.