Text in Calendar control?

4 posts, 0 answers
  1. Fit2Page
    Fit2Page avatar
    345 posts
    Member since:
    Feb 2007

    Posted 08 Dec 2009 Link to this post

    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
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 08 Dec 2009 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Fit2Page
    Fit2Page avatar
    345 posts
    Member since:
    Feb 2007

    Posted 08 Dec 2009 Link to this post

    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
  5. Yavor
    Admin
    Yavor avatar
    11 posts

    Posted 11 Dec 2009 Link to this post

    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.
Back to Top