Generate dynamic calendars based on default calendars date selection
say i have 2 asp.net default calendars.开发者_如何学C Now from one i select the date as August 20 2010 and in second i select the date as March 2011.
My Question: How can i generate dynamic calendars based on dates that i have selected inclusive of the dates? Hence for above example the dynamic calendars would be say from August 2010, September 2010, Oct 2010, Nov 2010.....Upto March 2011.
I want this to happen in ASP.NET ONLY.(ver 2.0/3.5)
Please help
Thanks!
You could use the Calendar control, and add them to the page dynamically in the init event, simply by adding the Calendar control to the page, while setting the VisibleDate property to ensure the correct month appears. Any fine-tuning of the dates can happen by attaching to the DayRender event.
HTH.
精彩评论