We take pride in your success. We let our positivity drive us, day in and out. Talk to us at Mindfire to know us more.

Software Technology Tips

 Recently  I  was working with Rad:Calendar in one of my pages when my client said he wants to get rid of the other month dates .

After some search I found one property of Rad:calendar as ShowOtherMonthsDays and then I made it as false.

i.e ShowOtherMonthsDays ="false"

 It was a good option and to some extent it solved my problem but then I realised that it didn’t solve my problem completely as I was showing my database dates in that calendar with different colours.(Different column of table with different colours).

 The problem was that though the other month dates were not visible, it still was occuping space in the calendar i.e the colours were getting assigned to that particular space(which are nothing but the dates of other months).

The final solution I came with is as follows:

RadCalendar1.OtherMonthDayStyle.CssClass = "WhiteClass";

<style>

.WhiteClass 

{

     background: White; 

}      

</style>


Related Tags:

ASP.NET, Telerik, RADCalendar

Author: Monalisa Brahma

top

ASP.NET

Let us Connect!

privacy

copyright (c) Mindfire Solutions 2007-2012. Login