How to limit the number of post values on UpdatePanel?

后端 未结 1 995
暖寄归人
暖寄归人 2021-01-23 06:54

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 pa

相关标签:
1条回答
  • 2021-01-23 07:48

    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.

    0 讨论(0)
提交回复
热议问题