|
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
|
|
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!
|
|
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...
|
|
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.
|
|