Hi! I am a .NET developer.
I have two consecutive web parts. Each webpart is inside an update panel.
So the scenario is like there are two update panels one after the other.
The problem I am facing is when one is fired the other is also firing.
The code snippet is too large to be shared, I am not sharing it.
Please help its urgent.
Thanks in advance.

The tutorial is excellent but the buttons are inside the webparts.
1. One webpart has three buttons.
2. The other has a dropdown list.

But the tutorial with the button outside.
Is there any way to solve the issue if the button are inside.

Yes when one updatepanel fires then all updatepanels on the page will also fire. You need to set the updatepanel UpDateMode to Conditional

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

Read
http://msdn.microsoft.com/en-us/library/bb386454.aspx

http://msdn.microsoft.com/en-us/magazine/cc163413.aspx

Edit: Sorry I see that svilla has already answer this. By the way in the first link I show it has the update button inside the update panel. I hope some of this help, as for myself I do not use asp updatepanels. The next link show other ways of doing updates.

Thanks a lot svilla and Freon22. This has cleared all my doubts about Update Panels and its Pros and Cons.

Thanks once again.

Have a nice day.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.