469,602 Members | 1,984 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,602 developers. It's quick & easy.

Is it possible to client-side validate a calendar?

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
Mar 26 '07 #1
6 3197
ua
On Mar 26, 7:55 am, "Tony Girgenti" <tony(nospam)@lakesideos.com>
wrote:
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

Mar 26 '07 #2
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

"ua" <jo********@gmail.comwrote in message
news:11*********************@n59g2000hsh.googlegro ups.com...
On Mar 26, 7:55 am, "Tony Girgenti" <tony(nospam)@lakesideos.com>
wrote:
>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

Mar 26 '07 #3
"Tony Girgenti" <tony(nospam)@lakesideos.comwrote in message
news:eN**************@TK2MSFTNGP04.phx.gbl...
Developing a VS2005, SP4, VB, .NET 2.0, ASP.NET 2.0, web site
SP4...? SP4 of what...?
Mar 26 '07 #4
On 26 Mar, 23:11, "Tony Girgenti" <tony(nospam)@lakesideos.comwrote:
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

"ua" <joshuam...@gmail.comwrote in message

news:11*********************@n59g2000hsh.googlegro ups.com...
On Mar 26, 7:55 am, "Tony Girgenti" <tony(nospam)@lakesideos.com>
wrote:
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- Hide quoted text -

- Show quoted text -
The CalendarExtender is very nice but you must install Microsoft AJAX
Extensions on the server in order to use it.
Mar 27 '07 #5
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

"mark4asp" <ma******@gmail.comwrote in message
news:11**********************@p15g2000hsd.googlegr oups.com...
On 26 Mar, 23:11, "Tony Girgenti" <tony(nospam)@lakesideos.comwrote:
>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

"ua" <joshuam...@gmail.comwrote in message

news:11*********************@n59g2000hsh.googlegr oups.com...
On Mar 26, 7:55 am, "Tony Girgenti" <tony(nospam)@lakesideos.com>
wrote:
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- Hide quoted text -

- Show quoted text -

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


Mar 27 '07 #6
On 28 Mar, 00:13, "Tony Girgenti" <tony(nospam)@lakesideos.comwrote:
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

"mark4asp" <mark4...@gmail.comwrote in message

news:11**********************@p15g2000hsd.googlegr oups.com...
On 26 Mar, 23:11, "Tony Girgenti" <tony(nospam)@lakesideos.comwrote:
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
"ua" <joshuam...@gmail.comwrote in message
>news:11*********************@n59g2000hsh.googlegr oups.com...
On Mar 26, 7:55 am, "Tony Girgenti" <tony(nospam)@lakesideos.com>
wrote:
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- Hide quoted text -
- Show quoted text -
The CalendarExtender is very nice but you must install Microsoft AJAX
Extensions on the server in order to use it.- Hide quoted text -

- 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.
Mar 28 '07 #7

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Sugapablo | last post: by
1 post views Thread by Krist | last post: by
5 posts views Thread by Aaron | last post: by
2 posts views Thread by Francesco | last post: by
2 posts views Thread by cedced | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.