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

Object is not defined

When I create simply web site with Test.aspx  (below) , without code. In running I get error page with message from JavaScript >

$("#Button").ejButton({text:"Testing!","clientId":"Button","uniqueId":"Button"}); Object is not defined.

Please help me, I tried to create project too, but result is the same. Also when I use another control (grid,...)


<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Test.aspx.vb" Inherits="Test" %>

<%@ Register Assembly="Syncfusion.EJ.Web, Version=12.4451.0.24, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" Namespace="Syncfusion.JavaScript.Web" TagPrefix="ej" %>

DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">

<head runat="server">

<title>title>

head>

<body>

<form id="form1" runat="server">

<div>

<asp:ScriptManager ID="ScriptManager1" runat="server">asp:ScriptManager>

<ej:Button ID="Button" runat="server" Text="Testing!">ej:Button>

div>

form>

body>

html>

Thanks

Peter


1 Reply

RM Ragunath M Syncfusion Team February 17, 2015 12:00 PM UTC

Hi Peter,

Thanks for using Syncfusion products.

From the information you have shared, we suspect that you have missed to refer the script files. To render our Syncfusion controls in ASP.NET we need to include DLL, Scripts, and CSS files. The following online documentation link describes how to add the Syncfusion application to your sample please make use of it.

Online documentation link: http://help.syncfusion.com/ug/js/default.htm#!documents/createmanually1.htm

We have prepared simple sample based on your requirement which is available in the link given below:

http://www.syncfusion.com/downloads/support/directtrac/general/Button_135406-460485157.zip

Kindly let us know if you have any queries.

Regards,

Ragunath M


Loader.
Up arrow icon