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

Browser compability

Thread ID:

Created:

Updated:

Platform:

Replies:

141993 Jan 14,2019 10:15 AM UTC Jan 17,2019 12:03 PM UTC ASP.NET MVC - EJ 2 1
loading
Tags: DropDownList
Nivas
Asked On January 14, 2019 10:15 AM UTC

Hi  team,

Th e below content in Layout.ctml works fine in IE, but workt working in google crome. 

 <script type="text/javascript" src="https://cdn.polyfill.io/v2/polyfill.min.js"></script>
    @Html.EJS().ScriptManager()
    @Scripts.Render("~/bundles/jquery")
    @Scripts.Render("~/bundles/bootstrap")
    @RenderSection("scripts", required: false)
    <script type="text/javascript" asp-fallback-test="window.Promise"
            asp-fallback-src="https://unpkg.com/promise-polyfill@6.0.2">
    </script>
    <script type="text/javascript" asp-fallback-test="window.fetch"
            asp-fallback-src="https://unpkg.com/whatwg-fetch@2.0.2">
    </script>

IE Screen shot

crome




If  place the promise after the @HTMl.EJS() , works fine in crome but not working in IE.
    @Html.EJS().ScriptManager()
    @Scripts.Render("~/bundles/jquery")
    @Scripts.Render("~/bundles/bootstrap")
    @RenderSection("scripts", required: false)
 <script type="text/javascript" src="https://cdn.polyfill.io/v2/polyfill.min.js"></script>
    <script type="text/javascript" asp-fallback-test="window.Promise"
            asp-fallback-src="https://unpkg.com/promise-polyfill@6.0.2">
    </script>
    <script type="text/javascript" asp-fallback-test="window.fetch"
            asp-fallback-src="https://unpkg.com/whatwg-fetch@2.0.2">
    </script>

IE Error After placing the highlighted script after @Html.EJS().ScriptManager()



Deepa Loganathan [Syncfusion]
Replied On January 17, 2019 12:03 PM UTC

Hi Nivas,  
 
Thanks for contacting Syncfusion support.  
 
Query: Sample works fine in IE, but works in google chrome 
 
We have checked with a simple test sample to reproduce to reported issue, sorry, but we were unable to reproduce this issue while referring the polyfill.js file in the following order in the master page of the application and the controls were rendered properly without any issues. 
 
  
 <script type="text/javascript" src="https://cdn.polyfill.io/v2/polyfill.min.js"></script> 
    @Html.EJS().ScriptManager() 
    @Scripts.Render("~/bundles/jquery") 
    @Scripts.Render("~/bundles/bootstrap") 
    @RenderSection("scripts", required: false) 
 
 
Please find the test sample for your reference.  
 
 
Also, since JavaScript does not support Promise callbacks in IE browser, we have used Polyfill providing support for Promise handlers in IE to ensure cross-browser compatibility. So, it is recommended to refer the polyfill.js file above the ScriptManager.  
 
After cross checking with the above test sample in attachment, if the issue still persists, kindly get back us with the following. 
 
1.      Are you facing any script error while referring polyfill.js file above ScripManager? 
2.      Issue reproducible sample, if possible. 
 
 
The details you provide will help us investigate to find the root cause of the issue and provide you a prompt solution at the earliest.  
 
Regards,  
Deepa L. 
 


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

;