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 6841289
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T23:56:53+00:00 2026-05-26T23:56:53+00:00

I am using an UpdatePanel with an entire table in the content template. Within

  • 0

I am using an UpdatePanel with an entire table in the content template. Within this update panel, I have dropdown A that calls a javascript function on its onchange event that sets the display CSS property of another control to none depending on the selected value of the dropdown list. It works as expected. However, I have dropdown B that invokes a SelectedIndexChanged which populates dropdown C with a set of values. That part also works. The problem is that, when dropdown B’s servside event is invoked, all the HTML within the content template appears to be reset, causing the control that I had previously hidden via CSS to show again.

What I would like to do is have dropdown B update only dropdown C and nothing else. If I were using Telerik’s RadAjaxManager then I could do this with ease, but we don’t have that =. Does the ASP update panel support what I want to do?

Note: Don’t worry, I won’t delete my question this time around 🙂

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

    First, you need to set your UpdatePanel to update in conditional mode:

    <asp:UpdatePanel ID="UpdatePanel1" UpdateMode="Conditional" runat="server">
    

    Then, after the event has been executed, you need to update the UpdatePanel you want in the codebehind:

    UpdatePanel1.Update();
    

    In this way you could have more than 1 UpdatePanel, which will improve the performance since they are handling different events (and less content).

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

Sidebar

Related Questions

I'm using the ASP net Ajax toolkit and have a GridView within the UpdatePanel
I'm using an update panel to have part of my page update asynchronously. Its
I'm having trouble with updating an ASP:UpdatePanel using javascript (jQuery). Here're what I have.
I have an update panel in an ascx page using .Net 3.5. The user
I have two update panels at my ajax page. This is first time I'm
I'm creating a SharePoint web part in C# that is using an UpdatePanel for
I'm using uniform jQuery plugin and I'm using ASP.NET. Whenever I update my dropdown
I'm using two asp:updatepanel and 2 asp:updateprogress for them. Update progress shows correctly when
On aspx page I have a PlaceHolder that is inside Updatepanel. I am creating
I'm using the ModalPopupExtender control from the AJAX toolkit. This control extends a panel

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.