I would like to replace the Timeline Button with an Add Button. When the add button is selected I'd like to bring up the new appointment dialog.
Thanks,
Scott
2 Answers, 1 is accepted
0
Veronica
Telerik team
answered on 16 Nov 2010, 04:11 PM
Hi Scott,
At first you need to rename the "Timeline" button with "Add". This can be done by setting:
Localization-HeaderTimeline="Add"
Secondly you can subscribe to the OnNavigationCommand event and check if the "Timeline" button is clicked. If this is true - you need to cancel the event and open the Advanced Form to start inserting an appointment. Here's the code for this: