Replace the DateInput component of r.a.d.datepicker with regular asp:textbox

Thread is closed for posting
4 posts, 1 answers
  1. 63F75A2C-1F16-4AED-AFE8-B1BBD57646AD
    63F75A2C-1F16-4AED-AFE8-B1BBD57646AD avatar
    1572 posts
    Member since:
    Oct 2004

    Posted 13 Jun 2006 Link to this post


    Requirements

    RadCalendar for ASP .NET version

    RadControls for ASP .NET AJAX version

    2.0.x and later



    2008.1.415 and later

    .NET version

    2.0 (RadCalendar for ASP .NET)


    2.0 and later (RadControls for ASP .NET AJAX)

    Visual Studio version

    2005/2008 (RadCalendar for ASP .NET)


    2005 and later(RadControls for ASP .NET AJAX)

    Programming language

    Javascript


    Browser support

    all supported by RadCalendar for ASP .NET


    all browsers supported by RadControls for ASP .NET AJAX


    The attached application demonstrates how you can replace the DateInput component of r.a.d.datepicker with regular asp:textbox control.

    Basically you need to hide the default DateInput component and then hook up the textbox to the calendar component of the datepicker -- the calendar is updated on the onblur client-side event of the textbox and the textbox is updated on the OnDateSelected client-side event of the datepicker).
  2. 41A79AA7-FB1B-41D0-9FF5-584DF8042CE9
    41A79AA7-FB1B-41D0-9FF5-584DF8042CE9 avatar
    2 posts
    Member since:
    Feb 2007

    Posted 16 Feb 2007 Link to this post

    Will this solution work for VS.net 2003 as well?
  3. Answer
    97DF226D-579C-42A0-BB64-C01E3598A04D
    97DF226D-579C-42A0-BB64-C01E3598A04D avatar
    631 posts
    Member since:
    Sep 2012

    Posted 17 Feb 2007 Link to this post

    Hello,

    The same solution works with VS.net 2003 studio as well. Find attached a sample project for your convenience.

    Sincerely yours,
    Petja Vassileva
    the telerik team
  4. C7498A83-7E2E-418C-8791-93EF573A7569
    C7498A83-7E2E-418C-8791-93EF573A7569 avatar
    9934 posts
    Member since:
    Nov 2016

    Posted 01 Aug 2008 Link to this post

    Hi guys,

    You may also be interested in reviewing the online demo concerning the usage of shared calendar among multiple textbox instances residing in RadGrid:

    http://www.telerik.com/DEMOS/ASPNET/Prometheus/Calendar/Examples/DatePicker/SharedDatePicker/DefaultCS.aspx?product=grid

    Best regards,
    Stephen
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top

This Code Library is part of the product documentation and subject to the respective product license agreement.