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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Is it possible to center the customwindow

Thread ID:

Created:

Updated:

Platform:

Replies:

128069 Dec 29,2016 05:24 PM UTC Jan 2,2017 12:28 PM UTC ASP.NET Core 1
loading
Tags: Schedule
dsapo
Asked On December 29, 2016 05:24 PM UTC


Hi:

We would like to center our custom appointment window without putting specific X, Ycoordinate, so when the user resizes the screen the dialog will be shown in the middle of the screen.


 $("#customWindow").ejDialog({
                width: 600,
                height: "auto",
                position: { X: 100, Y: 100 },
                showOnInit: false,
                enableModal: true,
                title: "Create Availability",
                enableResize: false,
                allowKeyboardNavigation: false,
                close: "clearFields"
            });

Thanks in advanced.

David

Karthigeyan Krishnamurthi [Syncfusion]
Replied On January 2, 2017 12:28 PM UTC

Hi David, 

Thank you for contacting Syncfusion support. 

Yes, it is possible to display the custom window in the center of the screen without specifying X and Y coordinate, it is not mandatory fields. 

Regards, 
Karthigeyan 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;