System.ArgumentOutOfRangeException

2 posts, 0 answers
  1. Matthew
    Matthew avatar
    51 posts
    Member since:
    Oct 2012

    Posted 07 Dec 2012 Link to this post

    We have a RadToolTip containing a RadScheduler and two RadGrids. We want to keep these objects in sync, so we've employed a RadAjaxManager. Unfortunately, the events that we want to sync after are fired from controls within the NestedViews of the RadGrids. When EnableAjax is set to false, the following error is thrown:

    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.

    Stack Trace:

    [ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
    Parameter name: ItemHierarchicalIndex]
       Telerik.Web.UI.GridItemCollection.get_Item(String hierarchicalIndex) +153
       Telerik.Web.UI.GridDataItemCollection.get_Item(String hierarchicalIndex) +50
       Telerik.Web.UI.RadGrid.LoadClientState(Dictionary`2 clientState) +7307
       Telerik.Web.UI.RadCompositeDataBoundControl.LoadPostData(String postDataKey, NameValueCollection postCollection) +305
       Telerik.Web.UI.RadCompositeDataBoundControl.System.Web.UI.IPostBackDataHandler.LoadPostData(String postDataKey, NameValueCollection postCollection) +73
       System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) +1068
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2773
    

    What can we do? Thanks.
  2. Pavlina
    Admin
    Pavlina avatar
    6187 posts

    Posted 12 Dec 2012 Link to this post

    Hello Matthew,

    I already answered your other forum thread with the same question. To avoid duplicate posts I will ask you to continue our communication there.

    All the best,
    Pavlina
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top