Groups | Blog | Home
all groups > asp.net webcontrols > june 2004 >

asp.net webcontrols : Calendar Control SelectedDate Property


Jason Taylor
6/27/2004 8:12:01 PM
Hello,

I have created a new Web Form, example.aspx, with a Calendar control, Calendar1. In the Page_Load event of example.aspx I have included;

Calendar1.SelectedDate = "28/08/2004"

When I run the page, the month displayed is June 2004. If I then navigate to August, I see that 28/08/2004 is in fact selected date.

How can I set the Calendar control to display the month correctly?

Thanks,

Jos
6/28/2004 9:12:00 AM
[quoted text, click to view]

Calendar1.VisibleDate = "28/08/2004"

--

Jos Branders

Robert Koritnik
6/28/2004 11:16:49 AM
Both.
SelectedDate & VisibleDate.

One selects, the other one shows.

--
RobertK
{ Clever? No just smart. }

[quoted text, click to view]

Jason Taylor
6/28/2004 3:14:01 PM
You guys rock my world! :)

Thanks.

[quoted text, click to view]
AddThis Social Bookmark Button