
#Webform to google doc merge fields code#
Now, open "App_Start\Site.Master" file and replace the following code in it:

In the above code, I have simply added JQuery, JQuery validation and Bootstrap libraries references in the bundle file. bundles.Add( new ScriptBundle( "~/bundles/bootstrap" ).Include(.bundles.Add( new ScriptBundle( "~/bundles/jqueryval" ).Include(.

bundles.Add( new ScriptBundle( "~/bundles/jquery" ).Include(.bundles.Add( new ScriptBundle( "~/bundles/modernizr" ).Include(.// ready for production, use the build tool at to pick only the tests you need.// Use the Development version of Modernizr to develop with and learn from. Then, when you’re."~/Scripts/WebForms/MsAjax/MicrosoftAjaxWebForms.js" ))."~/Scripts/WebForms/MsAjax/MicrosoftAjaxTimer.js" ,."~/Scripts/WebForms/MsAjax/MicrosoftAjaxApplicationServices.js" ,."~/Scripts/WebForms/MsAjax/MicrosoftAjax.js" ,.bundles.Add( new ScriptBundle( "~/bundles/MsAjaxJs" ).Include(.// Order is very important for these files to work, they have explicit dependencies."~/Scripts/WebForms/MenuStandards.js" ,."~/Scripts/WebForms/WebUIValidation.js" ,.bundles.Add( new ScriptBundle( "~/bundles/WebFormsJs" ).Include(.public static void RegisterBundles(BundleCollection bundles).// For more information on Bundling, visit.So, replace the following code in "App_Start\RouteConfig.cs" file: If you do not do the configuration as below then your "WebMethod" attribute will not work and your Ajax back-end method will not be hit when it is called via javascript. I am using SalesOrderDetail table extract from Adventure Works Sample Database.Let's begin now.Ĭreate a new Webform web application project and name it "GoogleGraphsWebform".īefore you move any further in this tutorial, you need to do the following configuration in "App_Start\RouteConfig.cs" file for asp.net webform "WebMethod" attribute to work. The sample code is developed in Microsoft Visual Studio 2015 Enterprise.
#Webform to google doc merge fields download#
You can download the complete source code for this tutorial or you can follow the step by step discussion below. Google charts API is simple to use and provides a variety of options for customization of graphical chart reports for better analytical purposes.įollowing are some prerequisites before you proceed further in this tutorial: So, today, I shall be demonstrating the integration of Google charts API in ASP.NET Webform. While Google charts API is one of the key APIs for graphs/charts integration in many development platforms i.e., ASP.NET MVC, ASP.NET webform, PHP, and many more, I will be mainly focusing on Google charts API integration in ASP.NET Webform in particular. This eventually helps stakeholders to make a better decision. Graphs/Charts are an important form of representing data which help in making meaningful reports for analytical purposes.
