We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Not able to fire Add event from a button click

Hi,

In my project i am trying to call Add event flyout from a button outside schedule control and not able to achieve it. Can you share a sample??

Attachment: Capture_dd0311ba.zip

3 Replies

SP Subburaj Pandian Veluchamy Syncfusion Team September 9, 2016 12:07 PM UTC

Hi Ramachandran,

Thank you for your interest in Syncfusion products.

Based on the provided information your requirement of triggering AppointmentEditor through button click can be achieved by ScheduleCommands in SfSchedule WinRT. Please find the below code example,

[c#]
ScheduleCommands.AddNewCommand.Execute(Schedule);

We have prepared simple sample based on your requirement, please find the sample below,

Sample link: ScheduleSample_WinRT

You can also refer our online User Guide documentation for ScheduleCommands by the following link,

UG link: https://help.syncfusion.com/winrt/sfschedule/commands

Please let us know if you have any further query on this.

Regards,
Subburaj Pandian V.



RS Ramachandran, Saranraj September 15, 2016 05:29 AM UTC

Hi Subburaj,

Thanks for replying. is the same code will work for UWP?


NM Nijamudeen Mohamed Sulaiman Syncfusion Team September 16, 2016 09:29 AM UTC

Hi Ramachandran,

The same given code will work for triggering AppointmentEditor through button click by using ScheduleCommands in SfSchedule UWP. You can also refer our online User Guide documentation for UWP ScheduleCommands by the following link,

UG link: https://help.syncfusion.com/uwp/sfschedule/commands 

Regards,
Nijamudeen M. 


Loader.
Up arrow icon