Author: prgfrs | Posted on: 4/2/2009 8:52:27 AM | Views : 647

I have one dropdownbox(ddlCountryTax) containing allcountries,If i select USA it will display grid displaying Tax information related to USA.If i edit information in grid and if we change country USA to UK in dropdown box in the ddlCountryTax(not the dropdownbox coming in the edit window of grid,,no problem for that) it displaying error like

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:

Line 86: } Line 87: Line 88: if( rgStateTax.EditItems.Count > 0 ) Line 89: { Line 90: foreach( GridDataItem item in rgStateTax.Items )

Source File: c:\Projects\ACS\Aivea.Acs.Adminis ...

Go to the complete details ...