In an AJAX callback function we get a GridDataItem and set it to selected. This appears to work ok in the client and is visible in the UI. We even set a label in the client base on the values in the selected item with no problem.
Client side setting selected item:
itemsNY[i] is a GridDataItem
On the server when we go to get the selected item from grid we are getting a previously set selected item, not the one set by our ajax callback code. Is there anything we can do to figure this out? We are working around it with hidden variable, but this is kind of messy.
Server side access to selected item:
Client side setting selected item:
itemsNY[i].set_selected(true); |
On the server when we go to get the selected item from grid we are getting a previously set selected item, not the one set by our ajax callback code. Is there anything we can do to figure this out? We are working around it with hidden variable, but this is kind of messy.
Server side access to selected item:
radGrid.MasterTableView.DataKeyValues[radGrid.SelectedItems[0].ItemIndex] |