Version

RowSelectorClicked Property

Event fired after a row selector is clicked.
Syntax
'Declaration
 
Public Property RowSelectorClicked As String
public string RowSelectorClicked {get; set;}
Example
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.";
         
       }
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also