Can anyone explan how I can access the selected row of a detail grid in a DevExpress master-detail ASPxGridView? I've found an example on the devexpress support website But I can't get it tow ork, I'm working with version 11 of DevExpress.
Thanks in advance.
Best Answer
I found a way to get the selected row of the detail grid, not sure how 'advised' it is to do it this way but it works fine for me, I added an
onload()
event to the detail grid and then I was able to access that instance of the gridview by casting it to an ASPxGridView.Here is my Code, the detail grid:
and then I handle the
onoad()
event like this:So I just made a ASPxGridView instance of the detail grid, and now I can make use of its
SelectionChanged()
event.