This is a migrated thread and some comments may be shown as answers.

Error in monthview with large amount of resource objects

3 Answers 61 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Paul Somberg
Top achievements
Rank 2
Paul Somberg asked on 15 May 2012, 10:35 AM
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

3 Answers, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 17 May 2012, 09:39 AM
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.
0
Paul Somberg
Top achievements
Rank 2
answered on 22 May 2012, 12:11 PM
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

0
Plamen
Telerik team
answered on 22 May 2012, 01:40 PM
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.
Tags
Scheduler
Asked by
Paul Somberg
Top achievements
Rank 2
Answers by
Plamen
Telerik team
Paul Somberg
Top achievements
Rank 2
Share this question
or