/// <summary> /// Add a javascript click action on the column /// All Properties marked with GridColumnKey will be send to the controller /// </summary> /// <param name="action">The action called on the click</param> /// <param name="method">Post or Get</param> /// <param name="isAjaxSubmit">Call by ajax (Asynchrone)</param> /// <param name="gridAction">Call an action on the grid if the server response is OK</param> /// <param name="confirmationMessage">Validation message to show</param> public GridColumnClickHandlerAttribute(string action, SendMethod method, bool isAjaxSubmit, OnSuccessGridAction gridAction, string confirmationMessage) : this(action, method, isAjaxSubmit) { this.GridAction = gridAction; this.ConfirmationMessage = confirmationMessage; }
/// <summary> /// Add a javascript click action on the column /// All Properties marked with GridColumnKey will be send to the controller /// </summary> /// <param name="action">The action called on the click</param> /// <param name="method">Post or Get</param> /// <param name="isAjaxSubmit">Call by ajax (Asynchrone)</param> /// <param name="gridAction">Call an action on the grid if the server response is OK</param> public GridColumnClickHandlerAttribute(string action, SendMethod method, bool isAjaxSubmit, OnSuccessGridAction gridAction) : this(action, method, isAjaxSubmit) { this.GridAction = gridAction; }