Welcome Guest Search | Active Topics | Sign In | Register

Datepicker for asp.net 1.1 Options
Sanchez
Posted: Friday, May 29, 2009 5:45:29 AM
Rank: Newbie
Groups: Member

Joined: 2/9/2008
Posts: 7
Hi,
I want to clear a datepicker (the textbox of the datepicker) in asp.net 1.1 controls version.
What is the method please... (client or serveur side).
It 's very important..
Thanks
eo_support
Posted: Friday, May 29, 2009 8:54:53 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

If you do it on the server side, you would use:

Code: C#
DatePicker1.SelectedDate = DateTime.MinValue;


If you do it on the client side, you would use:

Code: JavaScript
eo_GetObject("DatePicker1").setSelectedDate(null);


Thanks!
Sanchez
Posted: Friday, May 29, 2009 10:00:12 AM
Rank: Newbie
Groups: Member

Joined: 2/9/2008
Posts: 7
Hi,
Thanks for your quick answser... but it doesn't work.. I ve tryed the 2 solutions (client and serveur side)...my configuration IE 8... the date still appear on my page.. I don't anderstand why...
eo_support
Posted: Friday, May 29, 2009 10:04:53 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Please try the code in a separate test page. This is the standard code that is being used by many of our users. If it does not work, please submit your test page with step by step instructions on how you would reproduce the problem.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.