Skip Navigation LinksHome / Community & Support / Code Library / ASP.NET and ASP.NET AJAX > Calendar > Set default time in RadDateTimePicker

Answered Set default time in RadDateTimePicker

Feed from this thread
  • Posted on Dec 17, 2007 (permalink)

    Requirements

    RadCalendar for ASP .NET version

    RadControls for ASP .NET AJAX version

    2.x and later (RadInput 2.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



    PROJECT DESCRIPTION
    The default time value for a DateTime/TimePicker is 12:00 AM (culture dependent). This value is "recognized" as the empty value, and although in most cases it would not matter, some scenarios might require you to always have a specific mintime (default) set, without having to prompt the user to do it. This can be easily achieved with a few lines of javascript using a global variable to check if it has not been set already. For more info, please refer to the attached project.

Back to Top

Skip Navigation LinksHome / Community & Support / Code Library / ASP.NET and ASP.NET AJAX > Calendar > Set default time in RadDateTimePicker