Telerik.Web.Browser.edge

1 Answer 337 Views
General Discussions
Dave
Top achievements
Rank 1
Iron
Veteran
Iron
Dave asked on 12 Aug 2021, 03:24 PM

I'm using Version 2021.2.616.45 and attempting to detect Microsoft Edge.  When using Edge in Windows 10, Telerik.Web.Browser.edge is false, but shows chrome is true.  There are Telerik controls on the page, but I've also explicity added Telerik.Web.UI.Common.Core.js to the script manager.  I get that Edge is a chromium browser, but I need to detect Edge.

Am I missing something?

Thanks,

Dave

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Rumen
Telerik team
answered on 13 Aug 2021, 12:53 PM

Hi Dave,

Thank you for your good question.

Telerik.Web.Browser.edge returns true for the old MS Edge browser and false for the new Edge Chromium.

Telerik.Web.Browser.chrome returns true for both Chrome and Edge Chromium since both of them are using the same engine and if we update the code of the Telerik.Web.Browser.edge check, this may break a lot of functionality in the AJAX components. 

Nevertheless, I logged your great request for discussion and also updated your Telerik points.

Until then you can use the solution provided in StackOverflow which will help you to detect Edge Chromium- How to detect Microsoft Chromium Edge (chredge , edgium) in Javascript.

Best Regards,
Rumen
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
General Discussions
Asked by
Dave
Top achievements
Rank 1
Iron
Veteran
Iron
Answers by
Rumen
Telerik team
Share this question
or