Problem on day in RadScheduler MonthView

6 posts, 0 answers
  1. shahab
    shahab avatar
    58 posts
    Member since:
    Mar 2009

    Posted 01 Apr 2013 Link to this post

    I used persian calendar in RadScheduler. I have two problem with it:
    1. DayView, weekView are ok but MonthView is not ok. As showed in picture "12 فروردین" is ok becuase has appointment but next day(March 1) is not ok. it should be "13 فروردین" but it is "2".
    2. I want to change default startDate and EndDate in MonthView becuase Start day of Month in Persian is different with Georgian.
  2. Plamen
    Admin
    Plamen avatar
    2730 posts

    Posted 04 Apr 2013 Link to this post

    Hi shahab,

     
    You can use jQuery and change the text in the day cells as for example in the code below:

    function pageLoad() {
                   var $ = $telerik.$;
                  
                   $(".rsDateHeader").each(function (index, elem) {
                      
                       $(elem).text($(elem).attr("title"));
                       
                   });
               }

    Hope this will be helpful.

    Kind regards,
    Plamen
    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. UI for ASP.NET Ajax is Ready for VS 2017
  4. shahab
    shahab avatar
    58 posts
    Member since:
    Mar 2009

    Posted 04 Apr 2013 Link to this post

    your solution is not good. I think Telerik has bug in this sample. Why "12 فروردین" is correct and display in Persian format but "13 فروردین" display in Georgian Format?  I want to set day of month in each cell. How could I do that?
  5. shahab
    shahab avatar
    58 posts
    Member since:
    Mar 2009

    Posted 04 Apr 2013 Link to this post

    I solved it:
    <MonthView HeaderDateFormat="MMM dd"  DayHeaderDateFormat="MMM dd"/>
  6. safa
    safa avatar
    1 posts
    Member since:
    Dec 2006

    Posted 08 Nov 2014 in reply to shahab Link to this post

    Hi shahab,
    Did you find any solution for your second problem?
     I want to change default startDate and EndDate in MonthView becuase Start day of Month in Persian is different with Georgian.
    I have same problem.

  7. Plamen
    Admin
    Plamen avatar
    2730 posts

    Posted 10 Nov 2014 Link to this post

    Hi Safa,

    You can refer this this forum thread where a similar scenario have been discussed.

    Regards,
    Plamen
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017