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

2 posts, 0 answers
  1. Rahul
    Rahul avatar
    6 posts
    Member since:
    Jun 2010

    Posted 11 Jul 2010 Link to this post

    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,
  2. Dobry Zranchev
    Dobry Zranchev avatar
    348 posts

    Posted 13 Jul 2010 Link to this post

    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
  3. DevCraft R3 2016 release webinar banner
Back to Top