Re: Calendar Control issue.
- From: "Mark Rae" <mark@xxxxxxxxxxxxxxxxx>
- Date: Wed, 6 Dec 2006 19:56:34 -0000
"Mariano Padilla" <MarianoPadilla@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:699A22A0-AECD-4379-8E98-13A58954B2F9@xxxxxxxxxxxxxxxx
I have a page that has 12 calendars, one for each month of the year and I
have postback events to record the change when the user click. The change
is
written to a database and then the page refreshed with the dates selected
as
highlighted in red.
This is an availability page with 12 calendars. The problem is that all
the
calendars work, except #12 for december. When the postback events take
place,
or when the page refreshes, the calendar for December goes blank. If I
close
and open the page, then the calendar reflect the booked dates.
Any suggestions? Most code is below.
I have almost exactly the same page in one of my sites.
AAMOI, what happens if you name the calendars 0 to 11 instead of 1 to 12?
Also, do you realise that there is no need whatever to repeat all the
methods 12 times? (At least, there isn't in C#, so I'm presuming it's the
same in VB.NET.) Each of the calendars can use the same methods - the sender
argument determines which calendar has called the method.
You should also investigate the PreRender method to set up styles etc.
.
- References:
- Calendar Control issue.
- From: Mariano Padilla
- Calendar Control issue.
- Prev by Date: Re: path "Not a valid virtual Path" in Visual Web Dev Ex 2005
- Next by Date: Re: VS.NET 2005 & Vista problems?
- Previous by thread: Calendar Control issue.
- Next by thread: Re: Calendar Control issue.
- Index(es):
Relevant Pages
|