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

Forums / Developing with Sitefinity / Events Calendar - (Mini-Cal Weeks numbered and previous month days)

Events Calendar - (Mini-Cal Weeks numbered and previous month days)

3 posts, 0 answered
  1. Ali
    Ali avatar
    37 posts
    Registered:
    11 Jun 2008
    01 Apr 2009
    Link to this post
    This may be a weird issue that doesn't bother most people but it is really starting to bother me...

    does anyone know how to remove the week numbers?

    I am working on this site http://www.habitatsa.org/eventscalendarnew.aspx

    on the larger calendar, when you click the small calendar image it pops up a mini calendar that allows you to jump to other months or days, but it lists the number of the week in the year (out of 52). This can be confusing to some people who do not understand that they are week numbers and NOT numbered days of the month.

    Any info that you can provide would be much appreciated.

    On a side note,

    does anyone know how to make the rendered table cells of previous and next month go away? I know the call for NOT displaying the actual day value but rendering blank table cells is obnoxious. Info on this would also be appreciated. Thanks!

    -Ali
  2. Ali
    Ali avatar
    37 posts
    Registered:
    11 Jun 2008
    01 Apr 2009
    Link to this post
    Forgot to add, this is sitefinity 3.5.
  3. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    02 Apr 2009
    Link to this post
    Hello Ali,

    There are two three ways that you can use to remove the weeks.

    1. We will release a SP in a week or two with Q1 of RadControls where RowHeader is removed by default.
    2. Use css to hide the dates - you need to create a custom skin.
    3. Programmatically access the RadCalendar control - recursively and manage it.

    Sample example:

     
     
    // You need to use requirsion to access SelectedDataCalendar otherwise you will get  
    // null errors and object reference. 
    protected void RadScheduler1_PreRender(object sender, EventArgs e) 
       RadCalendar popupCalendar = RadScheduler1.FindControl("SelectedDateCalendar"as RadCalendar; 
       popupCalendar.ShowOtherMonthsDays = true
        
    }  

    I hope this helps.

    All the best,
    Ivan Dimitrov
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Register for webinar
3 posts, 0 answered