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. Image for the cookie policy date

Why this control not working? anyone can help me?

Version 15.1450.0.3

Why this control not working? anyone can help me?

Attachment: WebApplication112_ea4c827d.zip

3 Replies

FP Francis Paul Antony Raj Syncfusion Team April 7, 2017 09:02 AM UTC

Hi Thitisart, 
Thanks for contacting Syncfusion Support. 
We have checked your sample. You have referred our Embedded Sources in your application (in Web.config file). So, EJ resources and dependent scripts are encapsulated as embedded in our assembly and registered those resources in ASP Script Manager. Hence, no need to refer our EJ Scripts and CSS files in your application explicitly. Please ensure the below things in your application to render the EJ controls in web page when using Embedded Resources. 
#1) Controls are not rendered in page due to jQuery doesn’t get referred in the application. So, please refer it manually in the application since jQuery file is not included in our embedded resources list. 
#2) The Script Manager is mandatory to place our control initialization script in the page since EJ scripts are registered in ASP Script Manager. So, please include it in your web page as mentioned in the below code example. 
Code Example: 
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication11.WebForm1" %> 
<%@ Register assembly="Syncfusion.EJ.Web, Version=15.1450.0.33, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" namespace="Syncfusion.JavaScript.Web" tagprefix="ej" %> 
<%@ Register assembly="Syncfusion.EJ, Version=15.1450.0.33, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" namespace="Syncfusion.JavaScript.Models" tagprefix="ej" %> 
<%@ Register assembly="Syncfusion.EJ" namespace="Syncfusion.JavaScript.Models" tagprefix="ej" %> 
<!DOCTYPE html> 
<head runat="server"> 
    <%-- <link rel='nofollow' href="Content/ejthemes/responsive-css/ej.responsive.css" rel="stylesheet" />--%> 
        <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>  
        <!--jQuery file is excluded from embedded resources list. So, refer it here--> 
    <form id="form1" runat="server"> 
        <asp:scriptmanager id="ScriptManager1" runat="server"> 
        </asp:scriptmanager> <!--to place our control initialization script in the page--> 
        <ej:Button ID="TestButton" runat="server" Text="Button" Type="Button"></ej:Button> 
For more information about Embedded Resources: https://help.syncfusion.com/aspnet/embeded-resources 
To know about necessary Scripts and CSS files to be included in application and to know about ScriptManager purposes, refer to https://help.syncfusion.com/aspnet/getting-started#adding-the-required-javascript-files  
Francis Paul A. 

TS tsdev April 8, 2017 07:06 AM UTC

thank you

FP Francis Paul Antony Raj Syncfusion Team April 10, 2017 05:05 AM UTC

Hi Thitisart, 
Most Welcome. Please let us know if you need further assistance. 
Francis Paul A. 

Live Chat Icon For mobile
Up arrow icon