WEBGRID Retrieve values child rows server side

17 replies. Last post: October 26, 2009 4:39 AM by Luciano Sitzia
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback

Hello, I have a hierarchical structure and each child row has a button that raises a postback event when I try to retrieve values in WebGrd1_ButtonClick with the code below I get an error because it can't retieve the object. Would be so kind to send me a sample to solve this problem. Thank you, luciano.

Dim SelObj As SelectedObject = WebGrid1.RetrieveClientLastSelectedObject()
Dim SelInd As Integer 

SelInd = SelObj.RowIndex

Dim TempVar = WebGrid1.RootTable.ChildTables(0).Rows(SelInd).Cells.GetNamedItem("NUMERO_PROTOCOLLO").Value

 

All times are GMT -5. The time now is 12:44 PM.
Previous Next