Hi
I'm using Radgrid to build a tree structure with source of objects with parent and child relationship.
I'm also have a ddl in my page.
Each time I change my selection in the ddl I need to load differnet data to my radgrid.
The problem is the when I change the ddl and one of the node is expanded to more that 1 level I got error:
Specified argument was out of the range of valid values.
Parameter
name: ItemHierarchicalIndex Description:
An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details:
System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: ItemHierarchicalIndex
Source
Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.
I guess the problem is- the grid is trying to restore the expanded items on the new data source (which has been changed and the expanded levels in client data may not be valid anymore).
Can u help me with solution?
thanks
I'm using Radgrid to build a tree structure with source of objects with parent and child relationship.
I'm also have a ddl in my page.
Each time I change my selection in the ddl I need to load differnet data to my radgrid.
The problem is the when I change the ddl and one of the node is expanded to more that 1 level I got error:
Specified argument was out of the range of valid values.
Parameter
name: ItemHierarchicalIndex Description:
An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details:
System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: ItemHierarchicalIndex
Source
Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.
I guess the problem is- the grid is trying to restore the expanded items on the new data source (which has been changed and the expanded levels in client data may not be valid anymore).
Can u help me with solution?
thanks