This is a migrated thread and some comments may be shown as answers.
Stop previous/next month showing in view
1 Answer 17 Views
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 27 Jul 2012, 02:11 PM
Hi,

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?

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 1
answered on 30 Jul 2012, 06:05 AM
Hi Chris,

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

CSS:
<style type="text/css">
 .rcOtherMonth
 {
  visibility:hidden !important;
 }
</style>

Thanks,
Princy.
Asked by
Chris
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 1
Share this question
or