MGClickLink

Top  Previous  Next

This event is fired when one hyperlink text gets clicked.

[Visual Basic .NET]

Public Event MGClickLink(ByVal s As Object, ByVal e As ClickLinkEventArgs)

[C#]

public event MGClickLink(object s, ClickLinkEventArgs e);

Parameters

s

    Specifies the sender object.

 

e

    is the object of ClickLinkEventArgs 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 cell containing the clicked hyperlink text. 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 row index (0-based) of the cell containing the clicked hyperlink text.

4.OrigRowIndex specifies the original row index (0-based) of the cell containing the clicked hyperlink text.

5.CurrColumnIndex specifies the current column index (0-based) of the cell containing the clicked hyperlink text.

6.OrigColumnIndex specifies the original column index (0-based) of the cell containing the clicked hyperlink text.

7.LinkIndex specifies the index of the clicked text inside the cell, which can be 0, 1, 2, and 3, as a cell can hold up to 4 lines of texts.

8.LinkStr specifies the clicked text value.