Skip to content

Commit 19a94bf

Browse files
Add chart in Ajax grid example
1 parent ea3c569 commit 19a94bf

File tree

81 files changed

+91971
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+91971
-0
lines changed

chart/ChartInGrid/ChartInGrid.sln

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 2013
4+
VisualStudioVersion = 12.0.30723.0
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ChartInGrid", "ChartInGrid\ChartInGrid.csproj", "{2A3A146D-9166-486D-BD82-D1103ED07E42}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Release|Any CPU = Release|Any CPU
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{2A3A146D-9166-486D-BD82-D1103ED07E42}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{2A3A146D-9166-486D-BD82-D1103ED07E42}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{2A3A146D-9166-486D-BD82-D1103ED07E42}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{2A3A146D-9166-486D-BD82-D1103ED07E42}.Release|Any CPU.Build.0 = Release|Any CPU
18+
EndGlobalSection
19+
GlobalSection(SolutionProperties) = preSolution
20+
HideSolutionNode = FALSE
21+
EndGlobalSection
22+
EndGlobal
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
using System.Web;
2+
using System.Web.Optimization;
3+
4+
namespace ChartInGrid
5+
{
6+
public class BundleConfig
7+
{
8+
// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
9+
public static void RegisterBundles(BundleCollection bundles)
10+
{
11+
bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
12+
"~/Scripts/jquery-{version}.js"));
13+
14+
// Use the development version of Modernizr to develop with and learn from. Then, when you're
15+
// ready for production, use the build tool at http://modernizr.com to pick only the tests you need.
16+
bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
17+
"~/Scripts/modernizr-*"));
18+
19+
bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(
20+
"~/Scripts/bootstrap.js",
21+
"~/Scripts/respond.js"));
22+
23+
bundles.Add(new StyleBundle("~/Content/css").Include(
24+
"~/Content/bootstrap.css",
25+
"~/Content/site.css"));
26+
}
27+
}
28+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
using System.Web;
2+
using System.Web.Mvc;
3+
4+
namespace ChartInGrid
5+
{
6+
public class FilterConfig
7+
{
8+
public static void RegisterGlobalFilters(GlobalFilterCollection filters)
9+
{
10+
filters.Add(new HandleErrorAttribute());
11+
}
12+
}
13+
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Web;
5+
using System.Web.Mvc;
6+
using System.Web.Routing;
7+
8+
namespace ChartInGrid
9+
{
10+
public class RouteConfig
11+
{
12+
public static void RegisterRoutes(RouteCollection routes)
13+
{
14+
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
15+
16+
routes.MapRoute(
17+
name: "Default",
18+
url: "{controller}/{action}/{id}",
19+
defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional }
20+
);
21+
}
22+
}
23+
}
Lines changed: 219 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,219 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4+
<PropertyGroup>
5+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7+
<ProductVersion>
8+
</ProductVersion>
9+
<SchemaVersion>2.0</SchemaVersion>
10+
<ProjectGuid>{2A3A146D-9166-486D-BD82-D1103ED07E42}</ProjectGuid>
11+
<ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
12+
<OutputType>Library</OutputType>
13+
<AppDesignerFolder>Properties</AppDesignerFolder>
14+
<RootNamespace>ChartInGrid</RootNamespace>
15+
<AssemblyName>ChartInGrid</AssemblyName>
16+
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
17+
<MvcBuildViews>false</MvcBuildViews>
18+
<UseIISExpress>true</UseIISExpress>
19+
<IISExpressSSLPort />
20+
<IISExpressAnonymousAuthentication />
21+
<IISExpressWindowsAuthentication />
22+
<IISExpressUseClassicPipelineMode />
23+
</PropertyGroup>
24+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
25+
<DebugSymbols>true</DebugSymbols>
26+
<DebugType>full</DebugType>
27+
<Optimize>false</Optimize>
28+
<OutputPath>bin\</OutputPath>
29+
<DefineConstants>DEBUG;TRACE</DefineConstants>
30+
<ErrorReport>prompt</ErrorReport>
31+
<WarningLevel>4</WarningLevel>
32+
</PropertyGroup>
33+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
34+
<DebugType>pdbonly</DebugType>
35+
<Optimize>true</Optimize>
36+
<OutputPath>bin\</OutputPath>
37+
<DefineConstants>TRACE</DefineConstants>
38+
<ErrorReport>prompt</ErrorReport>
39+
<WarningLevel>4</WarningLevel>
40+
</PropertyGroup>
41+
<ItemGroup>
42+
<Reference Include="Antlr3.Runtime, Version=3.4.1.9004, Culture=neutral, PublicKeyToken=eb42632606e9261f, processorArchitecture=MSIL">
43+
<HintPath>..\packages\Antlr.3.4.1.9004\lib\Antlr3.Runtime.dll</HintPath>
44+
<Private>True</Private>
45+
</Reference>
46+
<Reference Include="Kendo.Mvc">
47+
<HintPath>..\lib\KENDOUIMVC\2016.1.226.545\Kendo.Mvc.dll</HintPath>
48+
<Private>True</Private>
49+
</Reference>
50+
<Reference Include="Microsoft.CSharp" />
51+
<Reference Include="Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
52+
<HintPath>..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll</HintPath>
53+
<Private>True</Private>
54+
</Reference>
55+
<Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
56+
<HintPath>..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll</HintPath>
57+
<Private>True</Private>
58+
</Reference>
59+
<Reference Include="System" />
60+
<Reference Include="System.Data" />
61+
<Reference Include="System.Data.Entity" />
62+
<Reference Include="System.Drawing" />
63+
<Reference Include="System.Web.DynamicData" />
64+
<Reference Include="System.Web.Entity" />
65+
<Reference Include="System.Web.ApplicationServices" />
66+
<Reference Include="System.ComponentModel.DataAnnotations" />
67+
<Reference Include="System.Core" />
68+
<Reference Include="System.Data.DataSetExtensions" />
69+
<Reference Include="System.Web.Helpers, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
70+
<HintPath>..\packages\Microsoft.AspNet.WebPages.3.2.3\lib\net45\System.Web.Helpers.dll</HintPath>
71+
<Private>True</Private>
72+
</Reference>
73+
<Reference Include="System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
74+
<HintPath>..\packages\Microsoft.AspNet.Mvc.5.2.3\lib\net45\System.Web.Mvc.dll</HintPath>
75+
<Private>True</Private>
76+
</Reference>
77+
<Reference Include="System.Web.Optimization, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
78+
<HintPath>..\packages\Microsoft.AspNet.Web.Optimization.1.1.3\lib\net40\System.Web.Optimization.dll</HintPath>
79+
<Private>True</Private>
80+
</Reference>
81+
<Reference Include="System.Web.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
82+
<HintPath>..\packages\Microsoft.AspNet.Razor.3.2.3\lib\net45\System.Web.Razor.dll</HintPath>
83+
<Private>True</Private>
84+
</Reference>
85+
<Reference Include="System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
86+
<HintPath>..\packages\Microsoft.AspNet.WebPages.3.2.3\lib\net45\System.Web.WebPages.dll</HintPath>
87+
<Private>True</Private>
88+
</Reference>
89+
<Reference Include="System.Web.WebPages.Deployment, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
90+
<HintPath>..\packages\Microsoft.AspNet.WebPages.3.2.3\lib\net45\System.Web.WebPages.Deployment.dll</HintPath>
91+
<Private>True</Private>
92+
</Reference>
93+
<Reference Include="System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
94+
<HintPath>..\packages\Microsoft.AspNet.WebPages.3.2.3\lib\net45\System.Web.WebPages.Razor.dll</HintPath>
95+
<Private>True</Private>
96+
</Reference>
97+
<Reference Include="System.Xml.Linq" />
98+
<Reference Include="System.Web" />
99+
<Reference Include="System.Web.Extensions" />
100+
<Reference Include="System.Web.Abstractions" />
101+
<Reference Include="System.Web.Routing" />
102+
<Reference Include="System.Xml" />
103+
<Reference Include="System.Configuration" />
104+
<Reference Include="System.Web.Services" />
105+
<Reference Include="System.EnterpriseServices" />
106+
<Reference Include="WebGrease, Version=1.5.2.14234, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
107+
<HintPath>..\packages\WebGrease.1.5.2\lib\WebGrease.dll</HintPath>
108+
<Private>True</Private>
109+
</Reference>
110+
</ItemGroup>
111+
<ItemGroup>
112+
<Compile Include="App_Start\BundleConfig.cs" />
113+
<Compile Include="App_Start\FilterConfig.cs" />
114+
<Compile Include="App_Start\RouteConfig.cs" />
115+
<Compile Include="Controllers\HomeController.cs" />
116+
<Compile Include="Global.asax.cs">
117+
<DependentUpon>Global.asax</DependentUpon>
118+
</Compile>
119+
<Compile Include="Models\ViewModel.cs" />
120+
<Compile Include="Properties\AssemblyInfo.cs" />
121+
</ItemGroup>
122+
<ItemGroup>
123+
<Content Include="Content\bootstrap-theme.css" />
124+
<Content Include="Content\bootstrap-theme.min.css" />
125+
<Content Include="Content\bootstrap.css" />
126+
<Content Include="Content\bootstrap.min.css" />
127+
<Content Include="fonts\glyphicons-halflings-regular.svg" />
128+
<Content Include="Global.asax" />
129+
<Content Include="packages.config" />
130+
<Content Include="fonts\glyphicons-halflings-regular.woff2" />
131+
<Content Include="fonts\glyphicons-halflings-regular.woff" />
132+
<Content Include="fonts\glyphicons-halflings-regular.ttf" />
133+
<Content Include="fonts\glyphicons-halflings-regular.eot" />
134+
<Content Include="Content\bootstrap-theme.css.map" />
135+
<Content Include="Content\bootstrap.css.map" />
136+
<None Include="Scripts\jquery-1.10.2.intellisense.js" />
137+
<Content Include="Scripts\bootstrap.js" />
138+
<Content Include="Scripts\bootstrap.min.js" />
139+
<Content Include="Scripts\jquery-1.10.2.js" />
140+
<Content Include="Scripts\jquery-1.10.2.min.js" />
141+
<Content Include="Scripts\kendo.modernizr.custom.js" />
142+
<Content Include="Scripts\modernizr-2.6.2.js" />
143+
<Content Include="Scripts\npm.js" />
144+
<Content Include="Scripts\respond.js" />
145+
<Content Include="Scripts\respond.min.js" />
146+
<Content Include="Scripts\_references.js" />
147+
<Content Include="Web.config" />
148+
<Content Include="Web.Debug.config">
149+
<DependentUpon>Web.config</DependentUpon>
150+
</Content>
151+
<Content Include="Web.Release.config">
152+
<DependentUpon>Web.config</DependentUpon>
153+
</Content>
154+
<Content Include="Views\Web.config" />
155+
<Content Include="Scripts\jquery-1.10.2.min.map" />
156+
<Content Include="Views\Home\About.cshtml" />
157+
<Content Include="Views\Home\Index.cshtml" />
158+
<Content Include="Views\Home\Contact.cshtml" />
159+
<Content Include="Views\_ViewStart.cshtml" />
160+
<Content Include="Views\Shared\_Layout.cshtml" />
161+
<Content Include="Views\Shared\EditorTemplates\Currency.cshtml" />
162+
<Content Include="Views\Shared\EditorTemplates\Date.cshtml" />
163+
<Content Include="Views\Shared\EditorTemplates\DateTime.cshtml" />
164+
<Content Include="Views\Shared\EditorTemplates\Email.cshtml" />
165+
<Content Include="Views\Shared\EditorTemplates\EmailAddress.cshtml" />
166+
<Content Include="Views\Shared\EditorTemplates\GridForeignKey.cshtml" />
167+
<Content Include="Views\Shared\EditorTemplates\Integer.cshtml" />
168+
<Content Include="Views\Shared\EditorTemplates\Number.cshtml" />
169+
<Content Include="Views\Shared\EditorTemplates\Password.cshtml" />
170+
<Content Include="Views\Shared\EditorTemplates\String.cshtml" />
171+
<Content Include="Views\Shared\EditorTemplates\Time.cshtml" />
172+
<Content Include="Views\Shared\EditorTemplates\Url.cshtml" />
173+
</ItemGroup>
174+
<ItemGroup>
175+
<Content Include="Content\Site.css" />
176+
<Content Include="favicon.ico" />
177+
<Content Include="Images\accent.png" />
178+
<Content Include="Images\bullet.png" />
179+
<Content Include="Images\heroAccent.png" />
180+
</ItemGroup>
181+
<ItemGroup>
182+
<Folder Include="App_Data\" />
183+
</ItemGroup>
184+
<PropertyGroup>
185+
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
186+
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
187+
</PropertyGroup>
188+
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
189+
<Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" />
190+
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" />
191+
<Target Name="MvcBuildViews" AfterTargets="AfterBuild" Condition="'$(MvcBuildViews)'=='true'">
192+
<AspNetCompiler VirtualPath="temp" PhysicalPath="$(WebProjectOutputDir)" />
193+
</Target>
194+
<ProjectExtensions>
195+
<VisualStudio>
196+
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
197+
<WebProjectProperties>
198+
<UseIIS>True</UseIIS>
199+
<AutoAssignPort>True</AutoAssignPort>
200+
<DevelopmentServerPort>43934</DevelopmentServerPort>
201+
<DevelopmentServerVPath>/</DevelopmentServerVPath>
202+
<IISUrl>http://localhost:43934/</IISUrl>
203+
<NTLMAuthentication>False</NTLMAuthentication>
204+
<UseCustomServer>False</UseCustomServer>
205+
<CustomServerUrl>
206+
</CustomServerUrl>
207+
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
208+
</WebProjectProperties>
209+
</FlavorProperties>
210+
<UserProperties UseCdnSupport="False" />
211+
</VisualStudio>
212+
</ProjectExtensions>
213+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
214+
Other similar extension points exist, see Microsoft.Common.targets.
215+
<Target Name="BeforeBuild">
216+
</Target>
217+
<Target Name="AfterBuild">
218+
</Target> -->
219+
</Project>

0 commit comments

Comments
 (0)