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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to prevent the default popup coming out on double click on Calendar cell?

Thread ID:

Created:

Updated:

Platform:

Replies:

149778 Dec 9,2019 04:36 AM UTC Dec 16,2019 06:16 AM UTC Blazor 3
loading
Tags: Scheduler
j
Asked On December 9, 2019 04:36 AM UTC

How to capture the double click just like the single click event and prevent the default popup from coming out?
It only comes out if there's a value inside the cell.

Nevitha Ravi [Syncfusion]
Replied On December 9, 2019 10:41 AM UTC

Dear Customer, 

Greetings from Syncfusion Support. 

We can prevent the default editor popup on cell alone using OnPopupOpen event. Please refer the following code example to meet your requirement. 

    private void OnPopupOpen(PopupOpenEventArgs<AppointmentData> args) 
    { 
        if (args.Data.Id == 0 && args.Type == PopupType.Editor) //to prevent the editor on cells 
        { 
            args.Cancel = true; 
        } 
    } 

To prevent both editor and quick popup on cell, use ‘args.Cancel= true;’ within OnCellClick and OnCellDoubleClick events. Also to prevent the editor popup on both cell and appointment, please refer the following UG link. 

Regards, 
Nevitha. 


j
Replied On December 13, 2019 04:05 PM UTC

Thank you for the idea but actually I want the default popup from coming out altogether. Now it's working!

Nevitha Ravi [Syncfusion]
Replied On December 16, 2019 06:16 AM UTC

Dear Customer, 
  
You are most welcome. Please keep in touch with us if you need any assistance as we are always happy in assisting you. 
  
Regards, 
Nevitha 


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon