Genesys CTI User Forum

Genesys CTI User Forum => Genesys-related Development => Topic started by: Srinivas on January 06, 2017, 08:26:13 AM

Title: Need to suppress messagebox/popup from WDE browser
Post by: Srinivas on January 06, 2017, 08:26:13 AM
Hi All,

How to suppress messagebox/popup from a WDE browser, which has been added as a toggle view InteractionExtensionSampleModule, once the interaction begins.

Thanks
Title: Re: Need to suppress messagebox/popup from WDE browser
Post by: daniel_san on January 10, 2017, 10:27:47 AM
Request not clear, at least for me.

May you post a picture?
Title: Re: Need to suppress messagebox/popup from WDE browser
Post by: abudwill on February 09, 2017, 05:21:25 PM
Srinivas,

In the past when I have embedded the System.Windows.Controls.WebBrowser control within a custom WDE view, pop ups have always been suppressed by default.  In fact, to have the ability to intercept and cause pop ups, I have had to intercept the NewWindow2 and NewWindow3 events to even support pop ups.

I think we would need more information from you to answer properly.

Also, consider not using this WebBrowser control in general, it is pretty terrible and leaks memory.  There are 3rd party C# WebBrowser plugins you could use (some free, some for pay).

Regards,
Andrew
Title: Re: Need to suppress messagebox/popup from WDE browser
Post by: PeteHoyle on February 10, 2017, 08:30:28 AM
Hi Andrew,

Have you used any third party C# WebBrowser controls, and if so which ones would you recommend.

As you say the Microsoft WebBrowser controls is not as good as it should be.

Thanks,

Pete.
Title: Re: Need to suppress messagebox/popup from WDE browser
Post by: abudwill on February 15, 2017, 06:30:37 PM
I did a lot of looking into CefSharp (https://www.nuget.org/packages/CefSharp.WPF/).  In my particular case we ended up making due with the Microsoft WebBrowser control.

There are a few based on chromium.  Cefsharp was one I looked into and there was another, but I cant remember the name :(

Regards,
Andrew