I have a datagrid that is bound to a dataset table. I would like to implement a select feature where the user may doubleclick anywhere in the row to select that row of the datagrid. I would like the selected row to then populate some text boxes. I understand this is possible with a select button but I do not want to use this method.
When I try to use the DoubleClick event of the datagrid I get the following error: BC30590: Event 'DoubleClick' cannot be found
Heres an extract of my code:
Sub DataGrid_DoubleClick(sender as Object, e As EventArgs) Handles MyDataGrid.DoubleClick
<asp:DataGrid id="MyDataGrid" runat="server"
AutogenerateColumns = "True"
Could someone please give me an example. I have tried everything. I believe its possible to use the double click event but not sure how to set up. Thanks