Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个带有 2 个按钮的页面。
我只想在通过其中一个按钮而不是另一个取消按钮提交页面时显示更新进度。我一直在努力想出一个解决方案。
有谁知道我该怎么做?
添加参数AssociatedUpdatePanelIDfor UpdateProgress,并将AsyncPostBackTriggerUpdatePanel 设置为要进行回发的按钮。
AssociatedUpdatePanelID
UpdateProgress
AsyncPostBackTrigger
如果上述说明没有帮助,您也可以尝试将您需要的控件包装到asp:Panel控件中并设置DefaultButton为您的提交按钮 ID。
asp:Panel
DefaultButton