我有一个 GridView 控件,其他功能必须在更新面板内。该站点正在使用 Ajax 控件工具包,并且 Grid 上的“EnableSortingAndPagingCallbacks”属性设置为 false。但是,当我执行分页调用时,它仍然是作为回调而不是回发。如何解决此问题并让寻呼调用作为回发触发?
Joe
问问题
471 次
1 回答
1
You can specify in the triggers collection of the update panel to create a trigger for your gridview that is a full postback instead of asynchronous. This is especially useful when there are some update panels inside others that you might only want to update at certain times but not others. You can also change the code-behind to tell it when to do the update.
于 2008-12-09T17:04:22.460 回答