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

Why this control not working? anyone can help me?

Thread ID:





129866 Apr 6,2017 01:12 PM UTC Apr 10,2017 05:05 AM UTC ASP.NET Web Forms 3
Tags: Button
Asked On April 6, 2017 01:12 PM UTC

Version 15.1450.0.3

Why this control not working? anyone can help me?

Attachment: WebApplication112_ea4c827d.zip

Francis Paul Antony Raj [Syncfusion]
Replied On 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. 

Replied On April 8, 2017 07:06 AM UTC

thank you

Francis Paul Antony Raj [Syncfusion]
Replied On April 10, 2017 05:05 AM UTC

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


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

or the page will be automatically redirected to 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