Geeks With Blogs
praveen pandey June 2010 Entries
Selecting a Week in ASP.NET Calender Control
You can either a buy a 3rd party control or write your own to get this working. And I was brave enough to write my own, so here is what I did. The ASP.NET calendar control fires an event when you click on a day (DayRender ). Add a handler to this event weeklyCalendar1.DayRender += new DayRenderEventHandler(weekl... in the Event Handler add the following code: void weeklyCalendar1_DayRender(o... sender, DayRenderEventArgs e) { if (e.Day.Date > DateTime.Today) { // e.Cell.BackColor ......

Posted On Wednesday, June 30, 2010 9:15 AM

Copyright © Praveen Pandey | Powered by: GeeksWithBlogs.net