I have a form inside of a modal Rad Window.
One of the controls on this form is a Rad DatePicker.
var StartDatePicker = $find("<%= dpStartDate.ClientID %>");
On the form, this works. The date value disappears.
Now, if I hit the button that closes the Window and posts back the form data, this line of code...
Start_Date = Convert.ToDateTime(dpStartDate.SelectedDate);
... shows me that the date value is still in the Rad DatePicker
I have even tried hard coding the clearing of the DatePicker's text box .
This line alone works in clearing the date from the form. But again when I read this control from the code behind, the value is still there,
What might be the cause of this?