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

Web.UI_2009_1_514 and Negative TimeZoneOffset

5 Answers 122 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
SolutionStream
Top achievements
Rank 1
SolutionStream asked on 18 May 2009, 07:23 PM
Just updated to the new internal build and now i cannot enter a negative timeZoneOffset.  I was using -06:00:00, but now I get an exception.  Is there a better way to enter negative timeZoneOffsets?




The added or subtracted value results in an un-representable DateTime.
Parameter name: value

Description: Anunhandled exception occurred during the execution of the current webrequest. Please review the stack trace for more information about theerror and where it originated in the code.

Exception Details: System.ArgumentOutOfRangeException: The added or subtracted value results in an un-representable DateTime.
Parameter name: value

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: The added or subtracted value results in an un-representable DateTime.Parameter name: value]   System.DateTime.AddTicks(Int64 value) +7658243   Telerik.Web.UI.RadScheduler.UtcToDisplay(DateTime utcDate) +46   Telerik.Web.UI.AdvancedTemplate.PrefillRecurrenceControls() +68   Telerik.Web.UI.AdvancedTemplate.CreateControls(Control container) +68   Telerik.Web.UI.AdvancedTemplate.InstantiateIn(Control container) +78   Telerik.Web.UI.RadScheduler.CreateHiddenAdvancedInsertForm(Control container) +221   Telerik.Web.UI.RadScheduler.CreateHiddenAdvancedForms() +102   Telerik.Web.UI.RadScheduler.CreateChildControls(Boolean bindFromDataSource) +339   Telerik.Web.UI.RadScheduler.CreateChildControls() +10   System.Web.UI.Control.EnsureChildControls() +87   System.Web.UI.Control.PreRenderRecursiveInternal() +44   System.Web.UI.Control.PreRenderRecursiveInternal() +171   System.Web.UI.Control.PreRenderRecursiveInternal() +171   System.Web.UI.Control.PreRenderRecursiveInternal() +171   System.Web.UI.Control.PreRenderRecursiveInternal() +171   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842
            

5 Answers, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 19 May 2009, 02:06 PM
Hello Kier,

Thank you for sending the detailed stack trace. We've managed to reproduce the bug easily. The fix will be available in the internal build tomorrow (version 2009.1.519 and up). You can download it from your Client.NET account.

As a token of our gratitude for your involvement, your Telerik points have been updated.

Best wishes,
Tsvetomir Tsonev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
SolutionStream
Top achievements
Rank 1
answered on 21 May 2009, 10:07 PM
I installed 519 and still have the issue, so i'm guessing its in 520?

Also, in 519 the ShowHeader="False" doesn't seem to be working.  Is it possible that this was broken too?
0
Accepted
T. Tsonev
Telerik team
answered on 22 May 2009, 07:32 AM
Hello Kier,

You're right, I've checked in the fix a little after the the 519 build was done. I've double checked that it's included in later builds.

I can confirm the problem with ShowHeader too. We've managed to reproduce it and fix it. It'll be available in the next internal build on Monday (version 522).

As a token of our gratitude for your involvement, your Telerik points have been updated

Sincerely yours,
Tsvetomir Tsonev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
SolutionStream
Top achievements
Rank 1
answered on 22 May 2009, 03:09 PM
Yep! The Negative TimeZoneOffset is fixed in 521.
0
brijesh
Top achievements
Rank 1
answered on 23 Nov 2010, 08:17 AM
Can you please send me the link to download the Version 521 for the Telerik control.

Thanks & Regards,
Brijesh
Tags
Scheduler
Asked by
SolutionStream
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
SolutionStream
Top achievements
Rank 1
brijesh
Top achievements
Rank 1
Share this question
or