5 Answers, 1 is accepted
0
Hi Lenny,
You can use RadDateInput instead RadDatePicker. Here is an example:
Please, review the following online demo:
http://demos.telerik.com/aspnet/prometheus/Input/Examples/RadDateInput/FirstLook/DefaultCS.aspx
Regards,
Plamen
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
You can use RadDateInput instead RadDatePicker. Here is an example:
<telerik:RadDateInput ReadOnly="true" ID="RadDateInput1" runat="server"> |
</telerik:RadDateInput> |
Please, review the following online demo:
http://demos.telerik.com/aspnet/prometheus/Input/Examples/RadDateInput/FirstLook/DefaultCS.aspx
Regards,
Plamen
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Lenny_shp
Top achievements
Rank 2
answered on 17 Nov 2008, 02:12 PM
The use of this in the next post was the solution. Note that just setting EnableTyping to false still allows user to use the calendar dropdown so you need to disable or hide it.
CType(ctl, RadDatePicker).EnableTyping = False
CType(ctl, RadDatePicker).DatePopupButton.Visible = False
or
CType(ctl, RadDatePicker).DatePopupButton.Enabled = False
CType(ctl, RadDatePicker).EnableTyping = False
CType(ctl, RadDatePicker).DatePopupButton.Visible = False
or
CType(ctl, RadDatePicker).DatePopupButton.Enabled = False
0
Accepted
Hi Lenny_shp,
Actually there is a EnableTyping property which is part of the RadDatePicker. Here is an example:
EnableTyping - Enables or disables typing in the date input box.
Regards,
Plamen
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Actually there is a EnableTyping property which is part of the RadDatePicker. Here is an example:
<telerik:RadDatePicker |
ID="RadDatePicker1" |
runat="server" |
EnableTyping="false"> |
</telerik:RadDatePicker> |
EnableTyping - Enables or disables typing in the date input box.
Regards,
Plamen
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
shubhangi
Top achievements
Rank 1
answered on 26 Aug 2015, 12:35 PM
How can disable date and time which is less than the current datetime in Rad date time calendar control. Referering below code.
<telerik:RadDateTimePicker ID="StartInput" SelectedDate='<%# Bind("Start") %>' runat="server">
<Calendar ShowRowHeaders="false" runat="server"></Calendar>
</telerik:RadDateTimePicker>
Please can anyone help in to this.
0
Hello Shubhangi,
You can achieve this requirement by setting the MinDate property:
Hope this helps. Please give it a try and let me know if it works for you.
Kind regards,
Eyup
the Telerik team
You can achieve this requirement by setting the MinDate property:
<
telerik:RadDateTimePicker
... MinDate='<%# Eval("OrderDate") %>'>
Hope this helps. Please give it a try and let me know if it works for you.
Kind regards,
Eyup
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.