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 : Nov 16th 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:

Created:

Updated:

Platform:

Replies:

129866 Apr 6,2017 01:12 PM UTC Apr 10,2017 05:05 AM UTC ASP.NET Web Forms 3
loading
Tags: Button
tsdev
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: 
 
[.aspx] 
 
<%@ 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"> 
    <title></title> 
    <%-- <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--> 
</head> 
<body> 
    <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> 
    </form> 
</body> 
</html> 
 
 
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  
 
Regards, 
Francis Paul A. 


tsdev
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. 
 
Regards, 
Francis Paul A. 


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.

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

;