1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / next/previous months/years are not working date picker in rad schduler

next/previous months/years are not working date picker in rad schduler

4 posts, 0 answered
  1. Harikrishnan
    Harikrishnan avatar
    13 posts
    Registered:
    09 May 2011
    13 Sep 2011
    Link to this post
    Hi
    Am using rad schduler in my application and some dates are desabling on day_render event of thedatepicker.
    after that the previous/next(month) buttons are desabling automatically. that means i cant click on the next/previous button in the datepicker control.

    see the attached image

    i have added the MultiViewColumns value is 2.is thereany issue in that?y an asking this cos while we comment the code this is working.
    Its very urg.please help us

    my code added here

     

     

     

     

    protected void schduler_PreRender(object sender, EventArgs e)

     

    {

     

    RadCalendar popupCalendar = schduler.FindControl("SelectedDateCalendar") as RadCalendar;

     

    popupCalendar.ShowOtherMonthsDays =

    false;

     

    popupCalendar.AutoPostBack =

    true;

     

    popupCalendar.MultiViewColumns = 2;

    opupCalendar.DayRender += new Telerik.Web.UI.Calendar.DayRenderEventHandler(popupCalendar_DayRender);

     

    }

  2. Plamen
    Plamen avatar
    2 posts
    Registered:
    14 Jun 2017
    17 Sep 2011
    Link to this post
    Hi Harikrishnan,

    We inspected the scenario that you are trying to achieve but it seems that when the calendar is build in the RadScheduler it is not supported. If you need to have a double calendar you will have to use it separately like in this demo.

    Greetings, Plamen Zdravkov
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal
  3. Manishkumar
    Manishkumar avatar
    2 posts
    Registered:
    10 Feb 2009
    14 Nov 2011
    Link to this post
    Hi Team,

    Calendar has feature a "<" and a "<<" button.  "<<" jumps a year; however “<” it moves only 3 month at a time.

    It should be like move to previous month. Same ">" button should move to next month.

    Can you please tell me how to customized calendar.

    Thanks in advance.

  4. Plamen
    Plamen avatar
    2 posts
    Registered:
    14 Jun 2017
    15 Nov 2011
    Link to this post
    Hello Manishkumar,

    If you are trying to set the step of the fast navigation to 12 months you can use this code:
    protected void RadScheduler1_PreRender(object sender, EventArgs e)
       {
           RadCalendar popupCalendar = RadScheduler1.FindControl("SelectedDateCalendar") as RadCalendar;
           popupCalendar.ShowOtherMonthsDays = false;
           popupCalendar.FastNavigationStep = 12;
       }

    Hope this is helpful.

    Regards,
    Plamen Zdravkov
    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
4 posts, 0 answered