Method of IPostBackDataHandler interface to process posted data. The Button will examine the posted data to determine if the user clicked this button to instigate the postback. If that is the case, the Button will register with the Page that it wants to raise an event during the event processing phase.
[Visual Basic] Overridable Public Function LoadPostData( _ ByVal postDataKey As String, _ ByVal postCollection As NameValueCollection _ ) As Boolean [C#] public virtual bool LoadPostData( string postDataKey, NameValueCollection postCollection ); [C++] public: virtual bool LoadPostData( String* postDataKey, NameValueCollection* postCollection ); [JScript] public function LoadPostData( postDataKey : String, postCollection : NameValueCollection ) : Boolean;
Button Class | Button Members | System.Web.UI.WebControls Namespace