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

Create/Edit appointment popup hosted in Winform does not open at center of screen

1 Answer 59 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Rahul
Top achievements
Rank 1
Rahul asked on 11 Jul 2010, 02:52 PM
Hi,
I have hosted the create/edit  appointment telerik control in window form. I want to display the popup at the center of the screen when it opens but i am unable to do so.
Please provide any assistence

Thanks & Regards,
Rahul

1 Answer, 1 is accepted

Sort by
0
Dobry Zranchev
Telerik team
answered on 13 Jul 2010, 03:16 PM
Hi Rahul,

Thank you for writing.

You could use the following code snippet:
 
CustomEditAppointmentDialog customEditAppointmentDialog = new CustomEditAppointmentDialog();
customEditAppointmentDialog.StartPosition = FormStartPosition.CenterScreen;
 
and then you can set this dialog to the arguments in the AppointmentEditDialogShowing event.

If you have other questions feel free to ask.

All the best,
Dobry Zranchev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Scheduler and Reminder
Asked by
Rahul
Top achievements
Rank 1
Answers by
Dobry Zranchev
Telerik team
Share this question
or