Calender in RadDockZone

Thread is closed for posting
4 posts, 0 answers
  1. Pathrudu
    Pathrudu avatar
    4 posts
    Member since:
    Jun 2013

    Posted 17 Jun 2013 Link to this post

    Hi Everyone,

    I m newly working on Rad Controls. So, please clarify me on my below requirements.

    1. Can we add Calender (Dynamic) directly to RadZone. or we have to do it through RadDock.???
    2. I need calender to start from current month with only right arrow beside it. Only clicking this right arrow, we have to navigate to next  month and at the same time left arrow should be enabled.
    3. Is Calendar can be minimized ???


    Its would helpful for me if you suggest anything for above. Atleast some hints.

    Thanks and Regards
    Pathrudu Majji
  2. Pathrudu
    Pathrudu avatar
    4 posts
    Member since:
    Jun 2013

    Posted 25 Jun 2013 Link to this post


    Hi Team,

    I was succedded in preventing users from navigating to past month by using
    _Calender.RangeMinDate = DateTime.Today;

    But, i also had a requirement to hide the PREV navigation icon for current month. When users navigated to next month, then only the PREV navigation icon has to be enabled. How to acheive this ????

    Thanks in advance.

    Regards
    Pathrudu
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Pathrudu
    Pathrudu avatar
    4 posts
    Member since:
    Jun 2013

    Posted 07 Oct 2013 Link to this post

    HI Friends, Any help ??/?
  5. Konstantin Dikov
    Admin
    Konstantin Dikov avatar
    1795 posts

    Posted 10 Oct 2013 Link to this post

    Hello Pathrudu,

    You could achieve your requirement if you set the "RangeMaxDate" to be the end of the next month for example and set the "HideNavigationControls" property of the RadCalendar to "true".

    Here is the markup and the code behind:
    <telerik:RadCalendar ID="RadCalendar1" runat="server" AutoPostBack="true"></telerik:RadCalendar>
    And the code-behind:
    protected void Page_Load(object sender, EventArgs e)
    {
        RadCalendar1.RangeMinDate = DateTime.Today;
        RadCalendar1.RangeMaxDate = DateTime.Today.AddDays(-DateTime.Now.Day).AddMonths(2); // or your custom max date
        RadCalendar1.HideNavigationControls = true;
    }

    Hope that helps.



    Regards,
    Konstantin Dikov
    Telerik
    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 the blog feed now.
Back to Top