Both.
SelectedDate & VisibleDate.
One selects, the other one shows.
--
RobertK
{ Clever? No just smart. }
[quoted text, click to view] "Jos" <josnospambranders@fastmail.fm> wrote in message
news:#hXj38NXEHA.716@TK2MSFTNGP11.phx.gbl...
> Jason Taylor wrote:
> > 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?
>
> Calendar1.VisibleDate = "28/08/2004"
>
> --
>
> Jos Branders
>
>