I have a Parent RadGrid, you can click on the Rows and the child rad grid will appear. You can
then go and add items to the child grid, once a new item is inserted I
need to rebind the parent grid but still maintain the originally
selected row.
I have the folllowing code, it rebinds the parent gird but i lose my selected row.
Thanks for reading..
I have the folllowing code, it rebinds the parent gird but i lose my selected row.
Protected Sub rgRiskAssessmentItems_ItemInserted(ByVal source As Object, ByVal e As Telerik.Web.UI.GridInsertedEventArgs) Handles rgRiskAssessmentItems.ItemInserted If Not e.Exception Is Nothing Then e.ExceptionHandled = True e.KeepInInsertMode = True SetMessage("Risk Assessment Item cannot be inserted. Reason: " + e.Exception.Message) Else SetMessage("New Risk Assessment Item has been added!") 'Make sure we get a submit button in the top grid after adding an item to the lower grid rgRiskAssessment.Rebind() 'rgRiskAssessmentItems.Rebind() End If End SubThanks for reading..