1.Create a new WebForms application and open the main form in the designer.Add the Syncfusion controls to your VS.NET toolbox if it has not been included in the ToolBar already. (It would be automatically added during the installation, unless you elected not to complete toolbox integration during install.)
2.Drag-and-drop a ChartWebControl onto the Web form.
3.Add the following Register tag to your .aspx page.
<%@ Register TagPrefix="cc4" Namespace="Syncfusion.Web.UI" Assembly="Syncfusion.Shared.Web, Version=188.8.131.52, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" %>
<%@ Register TagPrefix="cc3" Namespace="Syncfusion.Windows.Forms.Chart" Assembly="Syncfusion.Chart.Base, Version=184.108.40.206, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" %>
<%@ Register TagPrefix="cc2" Namespace="Syncfusion.Styles" Assembly="Syncfusion.Shared.Base, Version=220.127.116.11, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" %>
4.Add the following httphandlers tag to web.config file after the <globalization> segment.
<httpHandlers><add verb="*" path="syncfusion_image_generate.ashx" type= "Syncfusion.Web.UI.WebControls.ImageProvider.ImageWebHandler,Syncfusion.Shared.Web, Version=4.401.0.64, culture=Neutral,PublicKeyToken=3d67ed1f87d44c89"/></httpHandlers>
5.Set the OutputFormat property to Handler mode.
6.Now try running the project by selecting the Debug from Start menu.
Please make NOTE that based on the version of Essential Studio you are currently using, change the VERSION NUMBER in the WebConfig file and Register tag also.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|
|21||04/30/2011||07/10/2014||ASP.NET Web Forms (Classic)||Chart|
or the page will be automatically redirected to sign-in page in 10 seconds.