Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_professional thread: Time Validation


Message #1 by monica.andronic@t... on Tue, 18 Feb 2003 15:18:29
Monica
It will be good if you develop a custom control which is like A Mask 
Edit box and doesnt allow the user to enter what you want..for eg : in 
case of time it should automatically get a coln after two digits and 
check on blur if it is a valid time

Gurneet


-----Original Message-----
From: monica andronic [mailto:monica.andronic@t...]
Sent: Wednesday, February 19, 2003 12:26 PM
To: ASPX_Professional
Subject: [aspx_professional] Re: Time Validation


In fcat I suppose my problem is where I have to put the code for
validation.?
----- Original Message -----
From: "Jerry Lanphear" <jerrylan@q...>
To: "ASPX_Professional" <aspx_professional@p...>
Sent: Tuesday, February 18, 2003 8:01 PM
Subject: [aspx_professional] Re: Time Validation


> You can alway put a convert statement in a "try/catch" block.  If the
> convert works, the date and time are valid.
>
> Regards
> ----- Original Message -----
> From: <monica.andronic@t...>
> To: "ASPX_Professional" <aspx_professional@p...>
> Sent: Tuesday, February 18, 2003 3:18 PM
> Subject: [aspx_professional] Time Validation
>
>
> > I have to develop a composite control ,a DateTextBox control,a 
textbox
> > with a datetinme validator.For validating the date I use a compare
> > validator and set satatype.But haw can I validate the time???
> > thank you
> >
> >
>
>
>
>




  Return to Index