I have an extra RadGrid as Detail Table which needs to be editable (update, insert, delete).
I thought that DetailTable contains the needed Event Handlers for that but obviously i was wrong.
So now, i don't know how do i do that. I am using RadGrid1_DetailTableDataBind event to bind the nested Grid to Datatable:
However i still don't know how do i call UpdateCommand, InsertCommand and DeleteCommand for the grid which is detail table.
I am not using SqlDataSource objects and such. Rather i am using classes and stored procedures.
3 Answers, 1 is accepted
the Print button just prints out the table(s) maintained
Ok but i do update the both (parent radgrid and gridtableview)
I believe i should check if it's radgrid or gridtableview in all RadGrid's events and response adequately. e.g. In the ItemDataBound i should also Bind the gridtableview's controls but if the typeof object is gridtableview etc.
I am assuming which is probably not right but, the above example actually does not suit my scenario.
Thank you so much