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

Text in Calendar control?

3 Answers 110 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Fit2Page
Top achievements
Rank 2
Iron
Iron
Iron
Fit2Page asked on 08 Dec 2009, 08:35 AM
Hi,

The following is possible with the AjaxControlToolkit

<asp:TextBox id="ProjectDatum" CssClass="FormField Span20" runat="server"/>
<ajaxToolkit:CalendarExtender Enabled="True" ID="Calendar_ProjectDatum" runat="server" TargetControlID="ProjectDatum" Format="d-M-yyyy" />

In this configuration the Textbox can be filled from the CalendarExtender with a valid date. Manually the Textbox can be filles with any text Eg. "November 2009".
Is this also possible with the Telerik Calendar control?

Thanks for you advice.

Marc

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 08 Dec 2009, 09:16 AM
Hi Marc,

Have you checked the Telerik RadDatePicker control? Checkout the demo: DatePicker/First look
You can also format the value in the input area: Formatting Values

-Shinu.
0
Fit2Page
Top achievements
Rank 2
Iron
Iron
Iron
answered on 08 Dec 2009, 11:56 AM
Hi Shinu,

I already try to use RadDatePicker for this application.
The difference lies in the fact that in the AjaxControlToolkit approach the textbox is a seperate control which can be manually filled with any text regardless of the formatting.

In the telerik DatePicker the format is included in the control itself, so my question is if these formatting can be overruled so any text can be manually filled in?

Marc
0
Yavor
Telerik team
answered on 11 Dec 2009, 06:56 AM
Hello,

 The format settings for the control can be dynamically set on the server. Other than this, any characters not compatible with the format string will be removed.

Best wishes,
Yavor
the Telerik team


Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Calendar
Asked by
Fit2Page
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Shinu
Top achievements
Rank 2
Fit2Page
Top achievements
Rank 2
Iron
Iron
Iron
Yavor
Telerik team
Share this question
or