Stop previous/next month showing in view

2 posts, 0 answers
  1. Chris
    Chris avatar
    17 posts
    Member since:
    Oct 2010

    Posted 27 Jul 2012 Link to this post


    I am using a RadCalendar control in my web page, to allow users to select/deselect non working days. I have it so there are 12 views displayed at once (3 x 4 grid). This means I can get a whole year's worth into one page.

    What's quite annoying is that the previous/next months days sometimes appear in one view - which means in some cases the same day is repeated twice on the page, which is rather confusing and causes me trouble when determining if they have 'deselected' a day. Please select attached screenshot.

    How can I make it so that each view only contains days for that month?

  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 30 Jul 2012 Link to this post

    Hi Chris,

    Try Overriding the default css as follows to achieve your scenario.

    <style type="text/css">
      visibility:hidden !important;

Back to Top