This is a migrated thread and some comments may be shown as answers.

Hide end date when creating new appointment

1 Answer 102 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
abd el karim
Top achievements
Rank 1
abd el karim asked on 28 Dec 2016, 08:56 AM
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.

1 Answer, 1 is accepted

Sort by
0
Veselin Tsvetanov
Telerik team
answered on 30 Dec 2016, 12:19 PM
Hi,

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.

Regards,
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.
Tags
Scheduler
Asked by
abd el karim
Top achievements
Rank 1
Answers by
Veselin Tsvetanov
Telerik team
Share this question
or