- Home
- Forum
- ASP.NET Web Forms
- Themes not applied when using ASP.NET Ajax ScriptManager
Themes not applied when using ASP.NET Ajax ScriptManager
<link rel='nofollow' href="Content/ej/web/flat-lime/ej.web.all.min.css" rel="stylesheet" />
<script src="Scripts/ej/external/jquery-1.11.3.min.js">script>
<script src="Scripts/ej/external/jquery.easing.1.3.min.js">script>
<script src="Scripts/ej/external/jquery.globalize.min.js">script>
<script src="Scripts/ej/external/jsrender.min.js">script>
<script src="Scripts/ej/web/ej.web.all.min.js">script>
<script src="Scripts/ej/common/ej.webform.min.js">script>
What could be the problem? How to use a particular Syncfusion theme?
Question 2:
Is it mandatory to use the ASP.NET Ajax ScriptManager on all page which uses Syncfusion controls even if not usingASP.NET Ajax Updatepanel?
It seems that when the ASP.NET Ajax ScriptManageris not declared, the server side code behind of all Syncfusion control doesn't execute. For example, the code behind to handle the event OnValueSelect on a Syncfusion DropDownlist doesn't execute if the ASP.NET Ajax ScriptManager is not declared.
Thanks in advance.
Rapops
Thanks for contacting Syncfusion support.
Question 1: Flat lime theme is not referred when script manager invoked.
It seems, dependent script and CSS files are referred from both assembly and local application that’s why default theme have referred even though we referred it locally. So we suggest to set false to LoadEJResourcesFromAssembly in App Setting of web.config file which prevents that dependent files would embed from an assembly.
Please find the below web.config changes:
<appSettings>
<add key="LoadEJResourcesFromAssembly" value="false"/>
</appSettings>
Question 2:” Is it mandatory to use the ASP.NET Ajax ScriptManager on all page which uses Syncfusion controls even if not usingASP.NET Ajax Updatepanel?”
Yes, ASP Script Manager is mandatory to invoke the server side event for Syncfusion controls. So we suggest you to include ASP Script Manager by default in your master page.
Please let us know if you have any other queries.
Regards,
Arun P
Thank you for sharing with us the details about ASP ScriptManager.
Let us know if you have any other queries. We are happy to help you out.
Regards,
Ezhil S
Thanks for your update.
We are glad to hear that your issue has been fxed.
Please let us know if you need further assistance.
- 5 Replies
- 6 Participants
-
RA rapops
- Dec 18, 2015 05:33 PM UTC
- May 20, 2016 05:59 AM UTC