Hi,
I need to postback webgrid on row select and need ID of selected row, how would I do this
please help
Thanks in advance
First step configuration UltraWebGrid, Click in "Quick Desing" (shows the Quick Desing dialog), then click in "Feature Picker" later select desired element features right "Row Selectors" select option "Show".
Second step in the Event Click:
Dim strVariable As String
strVariable = Me.uwgrdOC.Rows(e.Row.Index).Cells(0).Text.ToString
End Sub
I hope it's useful to you
strVariable = Me.uwgrdOC.Rows(e.Row.Index).Cells.FromKey("ID").Text.ToString
error: Object reference not set to an instance of an object.
strvariable is srting type and not object. how i can solve that?
tks