I try on the server site to reset the selected date ( textbox need to be empty).
The definition of my RadDatePicker is :
I try to use this but whithout effect !
txt_DateFrom.DateInput.Text = string.empty;
I try to find a solution on the demo area, documentation and forum but nothing founded!
Can you me please help with this?
In advance thanks,
7 Answers, 1 is accepted
I recommend you use the Clear method:
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Thank you for this very quick answer ;-)
Have a nice day.
I'm adding a raddatepicker from codebehind which shows a default current date in date text box. I've tried to clear the date but it is not working. Below is my code.
datepicker = new RadDatePicker();
datepicker.DateInput.DateFormat = objdr[
AddControl(para, datepicker, div3, div1, divQuestion
Please download the attached project and let me know if I'm missing something because I failed to reproduce the problem.
the Telerik team
Say I have two datepicker controls to select a date range to retrieve records.
I select 8/10/2010 and 8/17/2010 and then click my retrieve button and it returns records.
I then delete the dates within the dateinput textboxex by clicking within them and hitting backspace within both datepickers until the textbox is blank.
When I do a retrieve now, the SelectedDate values are still 8/10/2010 and 8/17/2010 instead of null.
How can I call Clear() on the controls when the textboxes have been cleared?