How to hide Monthcell in RadMonthYearPicker

4 posts, 0 answers
  1. Anandhi
    Anandhi avatar
    12 posts
    Member since:
    Apr 2013

    Posted 25 Jul 2013 Link to this post

    How to Hide Month Cell in RadMonthYearPicker while datepopupbutton focussed.











  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 26 Jul 2013 Link to this post

    Hi Anandhi,

    Please have a look into the following code I tried which works fine at my end.

    <telerik:RadMonthYearPicker ID="RadMonthYearPicker1" runat="server" OnViewCellCreated="RadMonthYearPicker1_ViewCellCreated">

    protected void RadMonthYearPicker1_ViewCellCreated(object sender, MonthYearViewCellCreatedEventArgs e)
        if (e.Cell.CellType == MonthYearViewCellType.MonthCell)
            e.Cell.Style["display"] = "none";

  3. Dhamodharan
    Dhamodharan avatar
    300 posts
    Member since:
    Sep 2010

    Posted 29 Jul 2013 Link to this post

    Hi Shinu,
     It works perfectly, how to enable this on dynamically binding values to RadMonthYearPicker 

  4. Eyup
    Eyup avatar
    3320 posts

    Posted 01 Aug 2013 Link to this post

    Hello Dhamodharan,

    I am afraid it is difficult to figure out your exact requirement. Can you please elaborate on your specific scenario and provide us sample screenshots or video demonstrating the desired behavior?

    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