How to Use RadDateTimePicker Without a Textbox And Popup Buttons

Thread is closed for posting
1 posts, 1 answers
  1. Answer
    Telerik Admin
    Telerik Admin avatar
    1679 posts
    Member since:
    Oct 2004

    Posted 26 Nov 2008 Link to this post

    Requirements

    RadControls for ASP .NET AJAX version

    2008.1.415 and later
    .NET version

    2.0 and later
    Visual Studio version

    2005 and later
    Programming language Javascript
    Browser support

    all browsers supported by RadControls for ASP .NET AJAX


    PROJECT DESCRIPTION

    The following example shows how to make some or all of the RadDateTimePicker control elements invisible (textbox, popup buttons). Using the simple display:none style for the DateInput textbox is not possible, because the Calendar and TimeView popups calculate their position according to the position of this textbox. One cannot use only visibility:hidden either, because in this case the RadDateTimePicker will continue occupying space on the web page.

    A couple of simple custom CSS rules are required to achieve the goal.
Back to Top