MGClickCheckBox

Top  Previous  Next

This event is fired when the checkbox of a row is checked or unchecked.

[Visual Basic .NET]

Public Event MGClickCheckBox(ByVal s As Object, ByVal e As CheckBoxEventArgs)

[C#]

public event MGClickCheckBox(object s, CheckBoxEventArgs e);

Parameters

s

    Specifies the sender object.

 

e

    is the object of CheckBoxEventArgs Class with the following members:

1.GridIndex specifies the index of current active grid where clicking occurs. -1 indicates the full grid; for a sub grid, this member's value must be between 0 and the return value of GetTotalSubGrids() minus 1.

2.SectionIndex specifies the section index (0-based) of the row containing the checkbox. If the AllowSections is set to FALSE or the active grid is a sub grid not the full grid, this parameter becomes irrelevant.

3.CurrRowIndex specifies the current index (0-based) of the row containing the checkbox.

4.OrigRowIndex specifies the original index (0-based) of the row containing the checkbox.

5.NewValue specifies the checked status of the checkbox - either TRUE (checked) or FALSE (unchecked).