开发者

regarding update panel event

When the update pa开发者_如何学Cnel is refreshed then which event of the update panel is fired on the server side?


The UpdatePanel control from the Ajax Control Toolkit is more of a container control. It is a container that frees you from writing the plumbing for asynchronous ajax calls.

What that means is that this you will put your regular controls like buttons / dropdownlists etc that you want within this UpdatePanel Control.

If, for example, you want the button click to fire a server side event and do some processing, you will associate the button click event for the button just like you normally would in asp.net.

Because of the button being within the UpdatePanel (and provided the ChildrenAsTriggers / UpdateMode properties are set correctly) it is the buttons "OnClick" event that will be fired on the server side when you click the button.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜