Few weeks back I listed a set of very useful tips on ASP.NET GridView control, now this is the time for Calendar Control. Calendar control provides members like SelectedDayStyle
, WeekendDayStyle
, TodayDayStyle
to apply the styles for specific dates. Also there are several useful in built features for this control . However, in some scenarios, where you may need to customize the calendar control additionally.
Here is the list of 3 tips that can be very useful to customize the control; not only that, you can use those logic to apply or customize similar types changes.
ASP.NET Calendar Control as Outlook Calendar
This is a serious necessity in few applications where you want to show the appointments over a calendar. Though most of us are not aware, ASP.net calendar provides an easier way to deal with this. This tip shows how we can use a ASP.NET Calendar control as Outlook Calendar. Read Complete Post
How to change selected date background color of current week in ASP.NET Calendar ?
This tip is kind of extension of previous tip. Here we will get to know how we can highlight the the Current week selected date in some different color format not Complete Week . To achieve the same, first of all we need to identify the current week first and last date, so that we can put some condition for the specific date range. Read Complete Post
How to Change Background Color of Current Week in ASP.NET Calendar ?
This tip talks about one interesting customization of ASP.NET Calendar Control. Calendar control provides members like SelectedDayStyle
, WeekendDayStyle
, TodayDayStyle
to apply the styles for specific dates. Let’s consider a situation where, you need highlight the current week with some different color. Read Complete Post
Hope you liked them !
Do share your comments..