Home All Groups Group Topic Archive Search About

Adding dates to fields from calendar control

Author
26 Mar 2006 9:30 AM
Reidar
On a web form I have one calendar control, 2 textfields, FromDate and
ToDate.
When I click the calendar control I fill the fromDate field with selected
date.
When FromDate is selected I want to click the calendar control again and
fill the ToDate with a new date from
the calendar control.

Author
27 Mar 2006 5:04 AM
Cor Ligthert [MVP]
Reidar,

Can you show us some code that you use, probalbly is a boolean that you use
(in a session) in the click event of the calandar enough,

I hope this helps,

Cor

Show quoteHide quote
"Reidar" <rei***@eivon.no> schreef in bericht
news:e5c82fLUGHA.328@TK2MSFTNGP11.phx.gbl...
> On a web form I have one calendar control, 2 textfields, FromDate and
> ToDate.
> When I click the calendar control I fill the fromDate field with selected
> date.
> When FromDate is selected I want to click the calendar control again and
> fill the ToDate with a new date from
> the calendar control.
>
>