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

Thread is closed for posting
4 posts, 1 answers
  1. Telerik Admin
    Telerik Admin avatar
    1679 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. PS
    PS 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
    Petja
    Admin
    Petja avatar
    631 posts

    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. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    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