Hide end date when creating new appointment

2 posts, 0 answers
  1. abd el karim
    abd el karim avatar
    1 posts
    Member since:
    Nov 2016

    Posted 28 Dec 2016 Link to this post

    can i create a new appointment inside radScheduler based on a single date(select only one day without the need of selecting start date and end date) for example if we have an occasion like birthday the user should have only one date picker to select the day of the birthday without the need of selecting start day and end day . please review the attached picture to help you understand more what i need.
  2. Veselin Tsvetanov
    Veselin Tsvetanov avatar
    1164 posts

    Posted 30 Dec 2016 Link to this post


    To achieve the desired, you could hide the end date picker by handling the OnClientFormCreated event of the RadScheduler. Note that even if it will be not visible, you will have to update accordingly the selected value in the End DatePicker every time the date in the Start Picker changes.

    At the end you will have both dates set, but the user will choose only the start one. This is needed because each appointment requires both Start and End dates to be specified.

    Veselin Tsvetanov
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top