Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
35
DateTime did not have the Kind property set correctly
posted

Hello guys !

 

I have problem on WebScheduleInfo component since i tried to switch all my 10.3 dll, from .1013 build to .2217 for resolve ie9 bug on datagrid javascript.

 

Errors appear on IE when the page containing WebScheduleInfo and calendar  is displayed, without error on visual studio debugger.

 

Original message (in french):

Impossible d'effectuer la conversion, car la propriété Kind du DateTime fourni n'est pas correctement définie. Par exemple lorsque la propriété Kind a la valeur DateTimeKind.Local, le fuseau horaire source doit avoir pour valeur TimeZoneInfo.Local.
Nom du paramètre : sourceTimeZone

Traduction :

The conversion could not be completed because the supplied DateTime did not have the Kind property set correctly. For example, when the Kind property is DateTimeKind.Local, the source time zone must be TimeZoneInfo.Local.

 

stack trace :

System.TimeZoneInfo.ConvertTime(DateTime dateTime, TimeZoneInfo sourceTimeZone, TimeZoneInfo destinationTimeZone, TimeZoneInfoOptions flags) +864432
   System.TimeZoneInfo.ConvertTimeFromUtc(DateTime dateTime, TimeZoneInfo destinationTimeZone) +82
   Infragistics.WebUI.WebSchedule.WebScheduleInfo.ConvertUtcToTimeZoneTime(SmartDate date) +91
   Infragistics.WebUI.WebSchedule.WebCalendarView.GetValidatedDay() +142
   Infragistics.WebUI.WebSchedule.WebCalendarView.SetFrameInterval(FrameInterval frameInterval) +32
   Infragistics.WebUI.WebSchedule.WebScheduleViewBase.SetFrameIntervalInternal(Object sender, FrameIntervalChangingEventArgs e) +24
   Infragistics.WebUI.WebSchedule.WebScheduleInfo.OnDataBinding(EventArgs e) +155
   Infragistics.WebUI.WebSchedule.WebScheduleInfo.DataBind() +42
   Infragistics.WebUI.WebSchedule.WebScheduleInfo.OnPreRenderDependantControl() +89
   Infragistics.WebUI.WebSchedule.WebScheduleViewBase.OnPreRender(EventArgs e) +51
   System.Web.UI.Control.PreRenderRecursiveInternal() +108
   System.Web.UI.Control.PreRenderRecursiveInternal() +224
   System.Web.UI.Control.PreRenderRecursiveInternal() +224
   System.Web.UI.Control.PreRenderRecursiveInternal() +224
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3394

 

this errors disappears when i remove my WebScheduleInfo and WebCalendarView component.

 

any idea for resolve this ?

i've made some test without any result...

 

thanks for your help  !

 

 

Parents
No Data
Reply Children
No Data