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.
Unfortunately, activation email could not send to your email. Please try again.

Object is not defined

Thread ID:

Created:

Updated:

Platform:

Replies:

118250 Feb 16,2015 10:36 AM Feb 17,2015 07:00 AM ASP.NET Web Forms 1
loading
Tags: Button
peterV
Asked On February 16, 2015 10:36 AM

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


Ragunath M [Syncfusion]
Replied On February 17, 2015 07:00 AM

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


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.

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.

;