IPostBackEventHandler

IPostBackEventHandler

System.Web.UI (system.web.dll)interface

This interface allows a control to raise events in response to a postback operation. This interface is commonly used for button controls like System.Web.UI.WebControls.Button and System.Web.UI.WebControls.ImageButton. It can be used instead of, or in conjunction with, the IPostBackDataHandler interface. The distinction is that the RaisePostBackEvent( ) method is always called when a postback event occurs. The IPostBackDataHandler.RaisePostDataChangedEvent( ) method is called only if the control's state has changed, and is thus more suited for a "Change" event than a "Click" event.

public interface IPostBackEventHandler { // Public Instance Methods    public void RaisePostBackEvent(string eventArgument); }

Implemented By

Multiple types

Passed To

Page.{RaisePostBackEvent( ), RegisterRequiresRaiseEvent( )}



ASP. NET in a Nutshell
ASP.NET in a Nutshell, Second Edition
ISBN: 0596005202
EAN: 2147483647
Year: 2003
Pages: 873

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net