Is it possible to client-side validate a calendar?

T

Tony Girgenti

Hello.

Developing a VS2005, SP4, VB, .NET 2.0, ASP.NET 2.0, web site program using
a calendar.

I tried using the validators to see if i can validate dates using a calendar
control. It does not allow me to select the calendar control in the
drop-down list for the ControlToValidate property.

Is it possible to do client-side validation of calendar dates?

Any help would be gratefully appreciated.

Thanks,
Tony
 
U

ua

Hello.

Developing a VS2005, SP4, VB, .NET 2.0, ASP.NET 2.0, web site program using
a calendar.

I tried using the validators to see if i can validate dates using a calendar
control. It does not allow me to select the calendar control in the
drop-down list for the ControlToValidate property.

Is it possible to do client-side validation of calendar dates?

Any help would be gratefully appreciated.

Thanks,
Tony

Tony,

A solution that I have gone with is to use the CalendarExtender on a
TextBox provided by AJAX Controls available at: http://ajax.asp.net/toolkit/default.aspx.
This gives me the calendar functionality and then I just apply a
RegularExpressionValidator on the TextBox. My favorite feature of
this is that I don't have to use up this large space on the page to
display a Calendar and yet still maintain the Calendar Functionality I
desire.

I hope this helps.

Thanks,

Joshua
 
T

Tony Girgenti

Hello Joshua.

I'm just getting into studying AJAX. That sounds like what i want.

If i use the AJAX control, do i have to have the AJAX program running on the
server when and where i go to install the finished product?

Thanks,
Tony
 
M

mark4asp

Hello Joshua.

I'm just getting into studying AJAX. That sounds like what i want.

If i use the AJAX control, do i have to have the AJAX program running on the
server when and where i go to install the finished product?

Thanks,
Tony







- Show quoted text -

The CalendarExtender is very nice but you must install Microsoft AJAX
Extensions on the server in order to use it.
 
T

Tony Girgenti

Hello Mark.

Hmmmm. So, is it worth it for me to use the CalendarExtender? I would have
to install the Microsoft AJAX Extensions on the server wherever i take my
program?

Thanks,
Tony
 
M

mark4asp

Hello Mark.

Hmmmm. So, is it worth it for me to use the CalendarExtender? I would have
to install the Microsoft AJAX Extensions on the server wherever i take my
program?

Thanks,
Tony







- Show quoted text -

If you can install the Ajax extensions on the server then do it. Many
people don't have access to their server!

This Ajax Calender extender control is very nice, far better than the
old calender control.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,190
Members
46,736
Latest member
zacharyharris

Latest Threads

Top