Hello,
I am trying to build a Radgrid based on this example:
http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/editondblclick/defaultcs.aspx
It works fine when I set EditMode to PopUp or EditForms, but when I try to set it to InPlace I get the following error after a double click on a row:
Specified argument was out of the range of valid values.
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: index
Source Error:
Stack Trace:
When I debug the page after a double click I can see the DataSource is correctly set in the NeedDataSource event, all rows are properly handled in the ItemCreated and ItemDataBound events the same way they are when I use an other EditMode. But after this I get the above error only in EditMode=InPlace.
Does anyone know what could be the problem?
I am trying to build a Radgrid based on this example:
http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/editondblclick/defaultcs.aspx
It works fine when I set EditMode to PopUp or EditForms, but when I try to set it to InPlace I get the following error after a double click on a row:
Specified argument was out of the range of valid values.
Parameter name: index
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: index
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. |
Stack Trace:
|
When I debug the page after a double click I can see the DataSource is correctly set in the NeedDataSource event, all rows are properly handled in the ItemCreated and ItemDataBound events the same way they are when I use an other EditMode. But after this I get the above error only in EditMode=InPlace.
Does anyone know what could be the problem?