in

C1 Community

ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

Arabic problem

Last post 09-18-2007 6:26 AM by Austin. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 09-18-2007 6:26 AM

    • Austin
    • Not Ranked
    • Joined on 02-14-2006
    • Posts 5

    Arabic problem

    Hello friends need urgent help, we are using Calendar component in one of our app, our app is multi culture which is english and arabic.

     In english calendar is working fine but when change the cultrue to arabic the application blast below I am pasting the error code. this calendar component we are using from the LIVE Examples provided with the package.

     all other components are working perfectly fine in arabic mode. please help

    Specified time is not supported in this calendar. It should be between 07/18/0622 00:00:00 (Gregorian date) and 12/31/9999 23:59:59 (Gregorian date), inclusive.
    Parameter name: time

     

     

    Stack Trace:

    [ArgumentOutOfRangeException: Specified time is not supported in this calendar. It should be between 07/18/0622 00:00:00 (Gregorian date) and 12/31/9999 23:59:59 (Gregorian date), inclusive.
    Parameter name: time]
       System.Globalization.HijriCalendar.CheckTicksRange(Int64 ticks) +2229525
       System.Globalization.HijriCalendar.GetDatePart(Int64 ticks, Int32 part) +26
       System.Globalization.HijriCalendar.GetDayOfMonth(DateTime time) +28
       System.DateTimeFormat.FormatCustomized(DateTime dateTime, String format, DateTimeFormatInfo dtfi) +1677
       System.DateTimeFormat.Format(DateTime dateTime, String format, DateTimeFormatInfo dtfi) +99
       System.DateTime.ToString(String format, IFormatProvider provider) +27
       C1.Web.C1Input.C1WebDateEdit.a(Boolean A_0) +100
       C1.Web.C1Input.C1WebDateEdit..ctor() +40
       ASP.secure_fast_default_aspx.__BuildControlC1WebEditFromDate() +45
       ASP.secure_fast_default_aspx.__BuildControlContent1(Control __ctrl) +68
       System.Web.UI.CompiledTemplateBuilder.InstantiateIn(Control container) +12
       ASP.secure_secure_master.__BuildControlContentPlaceHolder1() +110
       ASP.secure_secure_master.__BuildControlform1() +52
       ASP.secure_secure_master.__BuildControlTree(secure_secure_master __ctrl) +34
       ASP.secure_secure_master.FrameworkInitialize() +34
       System.Web.UI.UserControl.InitializeAsUserControlInternal() +31
       System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection) +1978576
       System.Web.UI.Page.get_Master() +48
       System.Web.UI.Page.ApplyMasterPage() +18
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +543
    

Page 1 of 1 (1 items)
Contact ComponentOne: 1.800.858.2739 ©1987-2008 ComponentOne LLC All Rights Reserved.