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
460
when set WebMonthView.ActiveDayUtc = Date.max system will throw an error.
posted

I am using infragistic v 11.1.

I have an issue with WebMonthView control .

When  i set  WebScheduleInfo1.ActiveDayUtc = '12/31/9999'  or any date of  dec-9999 system will raise an below error.

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

stack Trace =  at System.DateTime.AddTicks(Int64 value) at System.DateTime.Add(Double value, Int32 scale) at Infragistics.WebUI.WebSchedule.WebMonthView.CalculateCurrentMonth() at Infragistics.WebUI.WebSchedule.WebMonthView.set_WebScheduleInfo(WebScheduleInfo value) at Infragistics.WebUI.WebSchedule.WebMonthView.OnPreRender(EventArgs e) at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 

Please let me know can i fix this issue.

Please let me know ASAP.

Parents
No Data
Reply
  • 49378
    posted

    Hello cmm,

    Thank you for posting in the community.

    Is there any particular reason why you would need to set the value of the WebScheduleInfo to a date so far in the future ? If you provide me with more specific information as to your requirements I would be happy to look into the matter.

    Please feel free to contact me if you have any questions.

Children