Question : Clear out calendar box in raddatepicker using javascript and postback


I am using an older version of telerik radcontrols and I need to clear out the actual box a user types a date.  I need to be able to do this in my javascript.  I can't even do it in the page_load potback.  

I haven't had any luck, so I am posting for help here.  Any help would be GREATLY appreciated.

 <rad:RadDatePicker Skin="Office2007" ID="RadDatePicker2" MinDate="1000-01-01"
                        runat="server" AutoPostBack="False" Culture="English (United States)">
                        <Calendar ShowRowHeaders="false">
                        </Calendar>
</rad:RadDatePicker>

Answer : Clear out calendar box in raddatepicker using javascript and postback

Hi ksummers,

Try this : document.getElementById("RadDatePicker2_dateInput_text").value = "";

Regards,
Chinmay

Random Solutions  
 
programming4us programming4us