Me.WebDataGrid1.Behaviors.RowSelectors.RowSelectorClientEvents.RowSelectorClicked = "WDG1_RowSelectorClicked"
this.WebDataGrid1.Behaviors.RowSelectors.RowSelectorClientEvents.RowSelectorClicked = "WDG1_RowSelectorClicked";
// The client event RowSelectorClicked takes two parameters sender and e // sender is the object which is raising the event // e is the RowSelectorClickedEventArgs function WDG1_RowSelectorClicked(sender, e) { //Returns the row that the row selector belongs to var row = e.get_row(); //Returns the index of the row var index = row.get_index(); window.status = "Row selector at index '" + index + "' is clicked."; }