Re: Calendar Control issue.

Tech-Archive recommends: Fix windows errors by optimizing your registry



"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.


.



Relevant Pages

  • Re: All Entourage Categories Lost?
    ... I had rebuilt the database several ... improvements to Exchange support and calendars and address books are now ... MVPs are not MS employees - Les MVP ne travaillent pas pour MS ...
    (microsoft.public.mac.office.entourage)
  • Messed up on look-up wizard
    ... I'm trying to make a database that will enable me to track people going on ... travel. ... from Form Design, so I don't have to re-code all the calendars as well? ...
    (microsoft.public.access.forms)
  • Re: Microsoft BU on Office 2008 installer issue
    ... What has MS Office to do with e-mail and calendars and a contacts ... Certainly nothing in our environment. ... If the mail server is set up properly, ...
    (uk.comp.sys.mac)
  • Re: calendar activex control
    ... I would stay away from ActiveX controls, especially if you intend to ... distribute your database. ... Search the NG for examples of non-ActiveX ... calendars. ...
    (comp.databases.ms-access)
  • Re: Calendar & time problem
    ... I don't store the values in the database first... ... each row has a datetime column and I use these calendars to ...
    (microsoft.public.dotnet.framework.aspnet)