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

JavaScript runtime error: '$sf' is undefined

Thread ID:





118638 Mar 26,2015 03:34 PM UTC Mar 27,2015 07:30 AM UTC ASP.NET Web Forms 1
Tags: Chart
Bruce Stevenson
Asked On March 26, 2015 03:34 PM UTC

I an at a loss as to what is missing.
this is where the brake takes me.
$sf.ChartAdv = function(element, options) {
    this.element = element;
    this.model = options;
    this.m_minPointsDelta = Number.NaN;
My Page:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Defualt.aspx.cs" Inherits="AdvChart.Defualt" %>
<%@ Register Assembly="Syncfusion.Shared.Web, Version=12.3400.0.36, Culture=neutral, PublicKeyToken=x"
	Namespace="Syncfusion.Web.UI.WebControls.Shared" TagPrefix="syncfusion" %>
<%@ Register Assembly="Syncfusion.Chart.Web, Version=12.3400.0.36, Culture=neutral, PublicKeyToken=x"
	Namespace="Syncfusion.Web.UI.WebControls.Chart.ChartAdv" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
	<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
	<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.11.0/jquery-ui.min.js"></script>
	<script src="http://cdn.syncfusion.com/js/web/ej.web.all-latest.min.js"></script>
	<script src="http://cdn.syncfusion.com/js/web/ej.widget.angular.min.js"></script>
	<form id="form1" runat="server">
		<syncfusion:SFScriptManager ID="SFScriptManager1" runat="server" EnablePartialRendering="true">
			<cc1:ChartAdv ID="ChartAdv1" runat="server" />
My References:

Jayavigneshwaran [Syncfusion]
Replied On March 27, 2015 07:30 AM UTC

Hi Bruce,

Thanks for using Syncfusion product. We have analyzed this.

The problem is with your dll reference. To render a chart control in ASP.NET Classic platform you have to refer “Syncfusion.Core.dll” along with other required dlls.

The below link shows the dll required to render the chart control in ASP.NET Classic platform

Link: http://help.syncfusion.com/ug/asp.net/documents/dlls1.htm

The below link shows the dll required to render HTML 5 chart (ChartAdv)

Link: http://help.syncfusion.com/ug/asp.net/documents/dlls2.htm

The below shows the dll required to render chart in ASP.NET platform

· Syncfusion.EJ.dll

· Syncfusion.EJ.Web.dll

We have also made sample for your reference in which chart is rendered in ASP.NET Classic platform. Find it from the below location

And also kindly revert back us your platform you are using. Since you mentioned ASP.NET on creating forum, but reference are related to ASP.NET Classic.

This will help us to provide sample in exact platform. The below link shows the difference between ASP and ASP Classic platform.

Link: https://www.syncfusion.com/kb/3796/what-is-the-difference-between-asp-netclassic-and-asp-netejweb

Please let us know if you have any concern.




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