Rendering Calendar
-
I am using calendar control on my webpages. I have a calendar on my index page and when I click any date I want to create another calendar on a different page displaying the month as the calendar of index page has. I have tried but it just displays the current month dates. Can anyone provide me a solution.:):):)
ash83
-
I am using calendar control on my webpages. I have a calendar on my index page and when I click any date I want to create another calendar on a different page displaying the month as the calendar of index page has. I have tried but it just displays the current month dates. Can anyone provide me a solution.:):):)
ash83
The Calendar Control has a property called SelectedDate. When you post back your first page, store that value from Calendar1 into a session variable. On your second page, you set Calendar2's SelectedDate to the session variable that has the original date.