Error in monthview with large amount of resource objects

4 posts, 0 answers
  1. Paul Somberg
    Paul Somberg avatar
    9 posts
    Member since:
    Feb 2009

    Posted 15 May 2012 Link to this post

    Hi,

    When I try to open the monthview with a large amount of resource objects I get the following exception:

    [ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
    Parameter name: value]
       System.Web.UI.WebControls.Unit..ctor(Double value, UnitType type) +8824419
       Telerik.Web.UI.Scheduler.Views.SchedulerRenderer.SetTableHeight(Table table, Int32 rowNum, Unit rowHeight, Int32 totalBorderHeight) +65
       Telerik.Web.UI.Scheduler.Views.Month.RendererBase.AddVerticalHeaders(SchedulerTopTable topTable, Int32 totalRowCount, Int32 totalBorderHeight) +722
       Telerik.Web.UI.Scheduler.Views.Month.GroupedByResource.Renderer.CreateVerticalContent(SchedulerTopTable topTable) +287
       Telerik.Web.UI.Scheduler.Views.Month.GroupedByResource.Renderer.GetInnerContent() +181
       Telerik.Web.UI.Scheduler.Views.Month.GroupedByResource.Renderer.GetContent() +79
       Telerik.Web.UI.RadScheduler.CreateContent() +122
       Telerik.Web.UI.RadScheduler.CreateChildControls(Boolean bindFromDataSource) +106
       Telerik.Web.UI.RadScheduler.ClearChildControls() +71
       Telerik.Web.UI.RadScheduler.Rebind() +12
       Telerik.Web.UI.RadScheduler.ProcessPostBackCommand(SchedulerPostBackEvent postBack) +2398
       Telerik.Web.UI.RadScheduler.RaisePostBackEvent(String eventArgument) +62
       Telerik.Web.UI.RadScheduler.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +13
       System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
       System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +176
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5563

    With 64 resource objects everything works fine, but when I use 65 resource objects or more I get this error. The problem only occurs in the monthview.

    Does anyone know a solution for this problem?

    Regards,
    Paul
  2. Plamen
    Admin
    Plamen avatar
    2729 posts

    Posted 17 May 2012 Link to this post

    Hello Poul,

     
    I have tested the issue by grouping RadScheduler with more than 56 resources in a simple binding scenario but could not observe the unusual behavior. It seems that the issue may be caused by some additional custom code. Would you please review my test project and let me know if I have to add any other specific properties or code in order to reproduce the same issue locally?

    Greetings,
    Plamen Zdravkov
    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Paul Somberg
    Paul Somberg avatar
    9 posts
    Member since:
    Feb 2009

    Posted 22 May 2012 Link to this post

    Sorry for the late response. I was a few days off.

    I see you are using an XML provider. I'm using a custom provider. I'd tried to upload my project, but I'm only allowed to upload images. Can I send you my test project so that you can review it?

    Regards,
    Paul

  5. Plamen
    Admin
    Plamen avatar
    2729 posts

    Posted 22 May 2012 Link to this post

    Hello Poul,

    You can submit a support ticket and attach there the project that isolates the unusual behavior

    Greetings,
    Plamen Zdravkov
    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