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

  • SEARCH
  • Home
  • 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 6171577
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T23:14:23+00:00 2026-05-23T23:14:23+00:00

I am using two update panels in my aspx page. My page also contains

  • 0

I am using two update panels in my aspx page. My page also contains other controls most of them are text boxes. some text boxes using ajaxwater mark extender. My problem is when the portion of the panels is updated the watermark textbox also updated. How can I preven this to happen?
My page is like

….some other controls and then

<asp:UpdatePanel runat="server" ID="upPanelTestRoll">
                        <ContentTemplate>
                            <fieldset style="height: 70px; float: left; width: 350px;">
                                <legend>Submission</legend>
                                <asp:CheckBox ID="chkSubmitted" runat="server" Height="25px" Width="25px" AutoPostBack="true" />
                                <label for="chkSubmitted">
                                    Submitted</label>
                                <label for="txtSubmissionDate">
                                    Submission Date</label>
                                <asp:TextBox ID="txtSubmissionDate" runat="server" Height="12px" Enabled="false"></asp:TextBox>
                                <cc1:CalendarExtender ID="txtSubmissionDate_CalendarExtender" runat="server" Enabled="True"
                                    TargetControlID="txtSubmissionDate">
                                </cc1:CalendarExtender>
                                <%--<asp:CheckBox ID="chkTestToAppear" runat="server" Height="25px" Width="25px" />
                            <label for="">
                                Test To Appear</label>--%>
                                <br />
                                <label for="txtAdmissionTestRoll">
                                    Admission Test Roll
                                </label>
                                <asp:TextBox ID="txtAdmissionTestRoll" runat="server" Enabled="false"></asp:TextBox>
                        </ContentTemplate>
                    </asp:UpdatePanel>

What to do to optimize the code?

  • 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-23T23:14:23+00:00Added an answer on May 23, 2026 at 11:14 pm

    Change the UpdatePanel.UpdateMode to Conditional.

    The content of the UpdatePanel control is updated under the following
    conditions: If the Update method of the UpdatePanel control is called
    explicitly.

    If a control is defined as a trigger by using the Triggers property of
    the UpdatePanel control and causes a postback. In this scenario, the
    control is an explicit trigger for updating the panel content. The
    trigger control can be either inside or outside the UpdatePanel
    control that defines the trigger.

    If the ChildrenAsTriggers property is set to true and a child control
    of the UpdatePanel control causes a postback. In this scenario, child
    controls of the UpdatePanel control are implicit triggers for updating
    the panel. Child controls of nested UpdatePanel controls do not cause
    the outer UpdatePanel control to be updated unless they are explicitly
    defined as triggers.

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

Sidebar

Related Questions

I'm using an UpdatePanel and want to put a CompareValidator on two text boxes,
I have two update panels at my ajax page. This is first time I'm
I'm using two asp:updatepanel and 2 asp:updateprogress for them. Update progress shows correctly when
I am using two update panel..in nested way.. can i use like this and
I'm using two different libraries in my project, and both of them supply a
I'm having troubles on an ASPX form using two ASP default components; The default
I am currently using two update queries and am wondering if there is a
I'm retro-fitting a .aspx page with AJAX functionality (using VB, not C#). The codebehind
I have a page that postbacks on a dropdown list selection (using AJAX update
I am using two collection_select helpers on a page. The lists themselves get populated

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.