System.Web.UI.WebControls.ImageButton.RaisePostBackEvent C# (CSharp) Method

RaisePostBackEvent() protected method

protected RaisePostBackEvent ( string eventArgument ) : void
eventArgument string
return void
		protected virtual void RaisePostBackEvent (string eventArgument)
		{
			ValidateEvent (UniqueID, String.Empty);
			if (CausesValidation) {
				Page page = Page;
				if (page != null)
					page.Validate (ValidationGroup);
			}
			
			OnClick (new ImageClickEventArgs (pos_x, pos_y));
			OnCommand (new CommandEventArgs (CommandName, CommandArgument));
		}