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

RaisePostBackEvent() protected method

protected RaisePostBackEvent ( string eventArgument ) : void
eventArgument string
return void
		void RaisePostBackEvent (string eventArgument)
		{
#if NET_2_0
			ValidateEvent (UniqueID, String.Empty);
#endif
			if (CausesValidation)
#if NET_2_0
				Page.Validate (ValidationGroup);
#else
				Page.Validate ();
#endif

			OnClick (new ImageClickEventArgs (pos_x, pos_y));
			OnCommand (new CommandEventArgs (CommandName, CommandArgument));
		}