Hello,
How can I get the type of row selected/clicked in radgridview?
I'using a radgridview(master) to show data in another radgridview (detail) evertime that a user clicks in the master radgridview. This works fine when the master radgridview isnĀ“t filtered or grouped.
When the radgridview is filtered or grouped and the user clicks in the (+) symbol to expand de row I get the following error:
System.InvalidCastException: Unable to cast object of type 'Telerik.WinControls.UI.GridViewGroupRowInfo' to type 'Telerik.WinControls.UI.GridViewDataRowInfo'.
The error is generated in the event CurrentRowChanged
How can I get the type of row selected/clicked in radgridview?
I'using a radgridview(master) to show data in another radgridview (detail) evertime that a user clicks in the master radgridview. This works fine when the master radgridview isnĀ“t filtered or grouped.
When the radgridview is filtered or grouped and the user clicks in the (+) symbol to expand de row I get the following error:
System.InvalidCastException: Unable to cast object of type 'Telerik.WinControls.UI.GridViewGroupRowInfo' to type 'Telerik.WinControls.UI.GridViewDataRowInfo'.
The error is generated in the event CurrentRowChanged
How can I detect the type of row selected/clicked or disable that event to prevent this error?
Thank for your support.
LM