hi telerik,
i have a rad grid with an in data key column (studentId) and a drodown column.
When I click on a row to edit it, item_created is fired and i get the correct record studentId from DataBinder.eval.
I attach selectedIndexChanged method on item_created to the dropdown record from the dropdown column, and set it's autopostback to True.
Now when i change the value on the dropdown, the page postback as expected, and first itemcreated is fired (later my selectedindexchanged event is fired too). the problem is that now the student id is 0! meaning that on edit mode, if the post back occured from an inner control on the selected row, the key is not retreived.
is there a proper way to retreieve the record key?
i have a rad grid with an in data key column (studentId) and a drodown column.
When I click on a row to edit it, item_created is fired and i get the correct record studentId from DataBinder.eval.
I attach selectedIndexChanged method on item_created to the dropdown record from the dropdown column, and set it's autopostback to True.
Now when i change the value on the dropdown, the page postback as expected, and first itemcreated is fired (later my selectedindexchanged event is fired too). the problem is that now the student id is 0! meaning that on edit mode, if the post back occured from an inner control on the selected row, the key is not retreived.
is there a proper way to retreieve the record key?