I have notice that the UpdatePanel post every field included on the form on every trigger.
But in most of my cases I use 2-3 UpdatePanels at the same page, and each one is independent.
When I click for update the one panel, then my page receive all the input data of the page (ok this is logical) but I won to read only this UpdatePanels data and act according, and not the other panels data.
So I see that a lot of traffic is happened this way.
So is there a way to say to one UpdatePanel – send only my input data, and not everything found on the page. ?
Thank you in advanced.
Answers:
Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.
Method 1
I believe that this isn’t possible. Although UpdatePanel updates only a portion of the page, a full post-back is always happening. This is why an UpdatePanel isn’t recommended for Ajax applications. You may consider using an Ajax client library, like jQuery and ajax-enabled WCF services. This will be much more efficient than UpdatePanels.
You can read a nice article about UpdatePanel here.
All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0