开发者

asynchronous triggers

I have gridview and detailsview controls. The detailsview will be displayed only for the edits of the gridview开发者_运维知识库. My detailsview is in an update panel and it will be displayed on the same page.

I have a button inside the detailsview. When the button is clicked the itemcommand doesn't trigger and moreover, it causes a full post back. My page gets refreshed and I lose the data from the detailsview and only gridview is displayed. Any ideas for overcoming it?

Thanks


Regarding the full-postback problem, have you tried to use ScriptManager.RegisterAsyncPostBackControl(Control control) passing the button as "control"?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜