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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T09:07:04+00:00 2026-05-11T09:07:04+00:00

I have the following ASPX structure: <UpdatePanel id=OutsidePanel UpdateMode=Conditional> <div runat=server id=myDiv> <UpdatePanel id=InsidePanel

  • 0

I have the following ASPX structure:

<UpdatePanel id='OutsidePanel' UpdateMode='Conditional'>   <div runat='server' id='myDiv'>     <UpdatePanel id='InsidePanel' UpdateMode='Conditional'>           <asp:ImageButton that causes a postback.. />    </UpdatePanel>   </div> </UpdatePanel> 

When the imageButton is clicked, on the server side, I change the class of myDiv. It’s not getting updated. I assume this is because the div is outside of the Inside UpdatePanel. How would I force it to update?

  • 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. 2026-05-11T09:07:04+00:00Added an answer on May 11, 2026 at 9:07 am

    Could you not just call the Update method of the ‘OutsidePanel’ UpdatePanel on the server when the Imagebutton in ‘InsidePanel’ causes a postback? Or alternatively, set up ImageButton click event as a trigger for ‘OutsidePanel’

    According to MSDN

    If the UpdateMode property is set to Conditional, the UpdatePanel control’s content is updated in the following circumstances:

    • When you call the Update method of the UpdatePanel control explicitly.

    • When the UpdatePanel control is nested inside another UpdatePanel control, and the parent panel is updated.

    • When a postback is caused by a control that is defined as a trigger by using the Triggers property of the UpdatePanel control. In this scenario, the control explicitly triggers an update of the panel content. The control can be either inside or outside the UpdatePanel control that the trigger is associated with.

    • When the ChildrenAsTriggers property is set to true and a child control of the UpdatePanel control causes a postback. Child controls of nested UpdatePanel controls do not cause an update to the outer UpdatePanel control 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 have the following ASPX code: <asp:ScriptManager ID=ScriptManager1 runat=server /> <asp:UpdatePanel runat=server ID=UpdatePanel UpdateMode=Conditional>
I have the following structure in an aspx page: <asp:Panel ID=pnlCust runat=server> <asp:GridView ID=gvMaster
On an aspx page I have following hyperlink: <asp:HyperLink ID=HyperLink1 runat=server NavigateUrl=#Bottom CssClass=ToBottom>To Bottom
I have the following example page structure: Webpage.aspx Script.aspx If I call Server.Execute(Script.aspx) from
I am using ASP.NET resource internationalization. I have the following structure /App_LocalResources Default.aspx.resx /App_GlobalResources
I have the following X.aspx code..to download excel file from Server if (ss[5] !=
I have the following webform: <%@ Page Language=C# AutoEventWireup=true CodeBehind=Default.aspx.cs Inherits=TestWebApp.Default %> <!DOCTYPE html
I have the following in my web.config: <location path=RestrictedPage.aspx> <system.web> <authorization> <allow roles=Group1Admin, Group3Admin,
I have following table structure: Table: Plant PlantID: Primary Key PlantName: String Table: Party
I have the following table structure: I'm trying to populate a combobox of all

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.