Can Raddatepicker set to buddhist year ??

4 posts, 0 answers
  1. Zom
    Zom avatar
    2 posts
    Member since:
    Sep 2012

    Posted 13 Sep 2012 Link to this post

    Hi telerik team

    i'm trying to select date from calendar. when i click raddtepricker it show buddhist year and i choose date , it not show buddhist year in text box.(can see in attach file)

    how can i fix that ?? 

    thanks you
  2. Milena
    Admin
    Milena avatar
    238 posts

    Posted 18 Sep 2012 Link to this post

    Hello,

    Unfortunately RadCalendfar supports only GregorianCalendar and alternative calendars like BuddhistCalendar or HijriCalendar cannot be used with our control.

    Kind regards,
    Milena
    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.
  3. arash
    arash avatar
    5 posts
    Member since:
    Jun 2007

    Posted 25 Oct 2012 Link to this post

    Set to HijriCalendar show good in design but in code return date  0749/01/23 and not exist.
    how can get selected date [1390/10/18] in code?
  4. Burawat
    Burawat avatar
    1 posts
    Member since:
    Jan 2017

    Posted 27 Jan in reply to Zom Link to this post

    I was changed the standard of kendo on kendo.all.min.js

    var e = new we; return new we(e.getFullYear(), e.getMonth(), e.getDate()) }

    to be

    var e = new we; return new we(e.getFullYear()+543, e.getMonth(), e.getDate()) }

    and then change from 

    min: new Date(1900, 0, 1), max: new Date(2099, 11, 31)

    to be

    min: new Date(2443, 0, 1), max: new Date(2642, 11, 31)

    Hope it help

Back to Top