I am using a radgrid with two detail tables. I wrote come code in InsertCommand of RadGrid.
But when i insert a detail record, InsertCommand fires.
I dont want that InsertCommand fires, when i insert detail record.
Could you suggest any solution for this?
The insert command fires whenever the Insert link is clicked.One solution is by checking the Condition as to which table is being inserted.Try the below code snippet to access the Master or Detail table.