开发者

Get postback control in PageRequestManager endRequest event

how could I get the ID of the control that caused the postback in the PageRequestManager endRequest event?

I looked at EndRequestEventArgs with Firebug but could not find such property. I am using .NET 4. Th开发者_如何学编程ank you.


If there is no “postback control ID” property in the “endRequest” eventArgs, it is possible to capture the required data within the “beginRequest” eventArgs and store it via temporary global variable.

Take a look at the “Example” of the “Sys.WebForms.PageRequestManager beginRequest Event” MSDN topic to learn more on how to capture “postback control”.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜