This is a migrated thread and some comments may be shown as answers.

Need to not show any dates in RadDatePicker

1 Answer 41 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
ps
Top achievements
Rank 1
ps asked on 04 Feb 2009, 09:13 PM
I looked at other post but could not find precisely what I was looking for.

I have RadDatePicker on my page. 

<

 

telerik:RadDatePicker ID="txtDateExpires" runat="server" Skin="WebBlue" Font-Names="Arial" Font-Size="8pt" AllowEmpty="true">

 

 

<DateInput LabelCssClass="radLabelCss_WebBlue" Skin="WebBlue">

 

 

<ClientEvents OnFocus="ShowDatePopup2" />

 

 

</DateInput>

 

 

<Calendar Skin="WebBlue">

 

 

</Calendar>

 

 

<DatePopupButton CssClass="radPopupImage_WebBlue" />

 

 

</telerik:RadDatePicker>

All I need to show no date in this field. I tried setting MinDate property but it shows some date ( either 1/1/1980 or mindate I had chosen). How can show "NO" date in this control ? Please suggest.

 

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 05 Feb 2009, 09:31 AM
Hi,

To display a blank date on the datepicker control, you can try out the following server-side code:
cs:
txtDateExpires.Clear();  
 

Thanks
Princy.
Tags
Calendar
Asked by
ps
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or