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
close icon

JavaScript runtime error: '$sf' is undefined

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:

1 Reply

JA Jayavigneshwaran Syncfusion Team 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: https://help.syncfusion.com/ug/asp.net/documents/dlls1.htm

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

Link: https://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.



Live Chat Icon For mobile
Up arrow icon