Skip to content

Commit 85c5688

Browse files
committed
chore: update batch editing example to version 2017.3.1026
1 parent 75a2b03 commit 85c5688

28 files changed

+79
-59825
lines changed

grid/batch-editing/KendoGridBatchEditing/Global.asax.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
using System.Collections.Generic;
33
using System.Linq;
44
using System.Web;
5-
using System.Web.Http;
65
using System.Web.Mvc;
76
using System.Web.Optimization;
87
using System.Web.Routing;

grid/batch-editing/KendoGridBatchEditing/KendoGridBatchEditing.csproj

Lines changed: 29 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
44
<PropertyGroup>
55
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@@ -8,18 +8,20 @@
88
</ProductVersion>
99
<SchemaVersion>2.0</SchemaVersion>
1010
<ProjectGuid>{527AE453-2FF3-42CC-A3E8-F83424B3E175}</ProjectGuid>
11-
<ProjectTypeGuids>{E3E379DF-F4C6-4180-9B81-6769533ABE47};{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
11+
<ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
1212
<OutputType>Library</OutputType>
1313
<AppDesignerFolder>Properties</AppDesignerFolder>
1414
<RootNamespace>KendoGridBatchEditing</RootNamespace>
1515
<AssemblyName>KendoGridBatchEditing</AssemblyName>
16-
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
16+
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
1717
<MvcBuildViews>false</MvcBuildViews>
1818
<UseIISExpress>true</UseIISExpress>
1919
<IISExpressSSLPort />
2020
<IISExpressAnonymousAuthentication />
2121
<IISExpressWindowsAuthentication />
2222
<IISExpressUseClassicPipelineMode />
23+
<UseGlobalApplicationHostFile />
24+
<TargetFrameworkProfile />
2325
</PropertyGroup>
2426
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2527
<DebugSymbols>true</DebugSymbols>
@@ -29,6 +31,7 @@
2931
<DefineConstants>DEBUG;TRACE</DefineConstants>
3032
<ErrorReport>prompt</ErrorReport>
3133
<WarningLevel>4</WarningLevel>
34+
<Prefer32Bit>false</Prefer32Bit>
3235
</PropertyGroup>
3336
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
3437
<DebugType>pdbonly</DebugType>
@@ -37,13 +40,15 @@
3740
<DefineConstants>TRACE</DefineConstants>
3841
<ErrorReport>prompt</ErrorReport>
3942
<WarningLevel>4</WarningLevel>
43+
<Prefer32Bit>false</Prefer32Bit>
4044
</PropertyGroup>
4145
<ItemGroup>
4246
<Reference Include="Antlr3.Runtime">
4347
<HintPath>..\packages\WebGrease.1.3.0\lib\Antlr3.Runtime.dll</HintPath>
4448
</Reference>
45-
<Reference Include="EntityFramework">
46-
<HintPath>..\packages\EntityFramework.5.0.0\lib\net40\EntityFramework.dll</HintPath>
49+
<Reference Include="EntityFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
50+
<HintPath>..\packages\EntityFramework.5.0.0\lib\net45\EntityFramework.dll</HintPath>
51+
<Private>True</Private>
4752
</Reference>
4853
<Reference Include="Kendo.Mvc, Version=2014.3.1119.440, Culture=neutral, PublicKeyToken=121fae78165ba3d4, processorArchitecture=MSIL">
4954
<SpecificVersion>False</SpecificVersion>
@@ -57,6 +62,7 @@
5762
</Reference>
5863
<Reference Include="System" />
5964
<Reference Include="System.Data" />
65+
<Reference Include="System.Data.DataSetExtensions" />
6066
<Reference Include="System.Data.Entity" />
6167
<Reference Include="System.Drawing" />
6268
<Reference Include="System.Runtime.Serialization" />
@@ -65,44 +71,42 @@
6571
<Reference Include="System.Web.Entity" />
6672
<Reference Include="System.Web.ApplicationServices" />
6773
<Reference Include="System.ComponentModel.DataAnnotations" />
68-
<Reference Include="System.Core" />
69-
<Reference Include="System.Data.DataSetExtensions" />
70-
<Reference Include="System.Web.Helpers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
74+
<Reference Include="System.Web.Extensions" />
75+
<Reference Include="System.Web.Helpers, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
76+
<HintPath>..\packages\Microsoft.AspNet.WebPages.3.2.3\lib\net45\System.Web.Helpers.dll</HintPath>
7177
<Private>True</Private>
72-
<HintPath>..\packages\Microsoft.AspNet.WebPages.2.0.30506.0\lib\net40\System.Web.Helpers.dll</HintPath>
7378
</Reference>
74-
<Reference Include="System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
79+
<Reference Include="System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
80+
<HintPath>..\packages\Microsoft.AspNet.Mvc.5.2.3\lib\net45\System.Web.Mvc.dll</HintPath>
7581
<Private>True</Private>
76-
<HintPath>..\packages\Microsoft.AspNet.Mvc.4.0.30506.0\lib\net40\System.Web.Mvc.dll</HintPath>
7782
</Reference>
7883
<Reference Include="System.Web.Optimization">
7984
<HintPath>..\packages\Microsoft.AspNet.Web.Optimization.1.0.0\lib\net40\System.Web.Optimization.dll</HintPath>
8085
</Reference>
81-
<Reference Include="System.Web.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
86+
<Reference Include="System.Web" />
87+
<Reference Include="System.Web.Abstractions" />
88+
<Reference Include="System.Web.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
89+
<HintPath>..\packages\Microsoft.AspNet.Razor.3.2.3\lib\net45\System.Web.Razor.dll</HintPath>
8290
<Private>True</Private>
83-
<HintPath>..\packages\Microsoft.AspNet.Razor.2.0.30506.0\lib\net40\System.Web.Razor.dll</HintPath>
8491
</Reference>
85-
<Reference Include="System.Web.WebPages, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
92+
<Reference Include="System.Web.Routing" />
93+
<Reference Include="System.Web.WebPages, 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.dll</HintPath>
8695
<Private>True</Private>
87-
<HintPath>..\packages\Microsoft.AspNet.WebPages.2.0.30506.0\lib\net40\System.Web.WebPages.dll</HintPath>
8896
</Reference>
89-
<Reference Include="System.Web.WebPages.Deployment, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
97+
<Reference Include="System.Web.WebPages.Deployment, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
98+
<HintPath>..\packages\Microsoft.AspNet.WebPages.3.2.3\lib\net45\System.Web.WebPages.Deployment.dll</HintPath>
9099
<Private>True</Private>
91-
<HintPath>..\packages\Microsoft.AspNet.WebPages.2.0.30506.0\lib\net40\System.Web.WebPages.Deployment.dll</HintPath>
92100
</Reference>
93-
<Reference Include="System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
101+
<Reference Include="System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
102+
<HintPath>..\packages\Microsoft.AspNet.WebPages.3.2.3\lib\net45\System.Web.WebPages.Razor.dll</HintPath>
94103
<Private>True</Private>
95-
<HintPath>..\packages\Microsoft.AspNet.WebPages.2.0.30506.0\lib\net40\System.Web.WebPages.Razor.dll</HintPath>
96104
</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" />
102105
<Reference Include="System.Xml" />
103106
<Reference Include="System.Configuration" />
104107
<Reference Include="System.Web.Services" />
105108
<Reference Include="System.EnterpriseServices" />
109+
<Reference Include="System.Xml.Linq" />
106110
<Reference Include="WebGrease">
107111
<HintPath>..\packages\WebGrease.1.3.0\lib\WebGrease.dll</HintPath>
108112
</Reference>
@@ -138,6 +142,7 @@
138142
<Content Include="App_Data\Northwind_log.ldf">
139143
<DependentUpon>Northwind.mdf</DependentUpon>
140144
</Content>
145+
<Content Include="bin\Kendo.Mvc.dll" />
141146
<Content Include="Global.asax" />
142147
<Content Include="Models\Northwind.Context.tt">
143148
<Generator>TextTemplatingFileGenerator</Generator>

grid/batch-editing/KendoGridBatchEditing/Models/Northwind.Designer.cs

Lines changed: 10 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

grid/batch-editing/KendoGridBatchEditing/Views/Shared/_Layout.cshtml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,14 @@
33
<head>
44
<title>@ViewBag.Title - My Telerik MVC Application</title>
55
<link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
6-
<link href="http://cdn.kendostatic.com/2014.3.1119/styles/kendo.common.min.css" rel="stylesheet" type="text/css" />
7-
<link href="http://cdn.kendostatic.com/2014.3.1119/styles/kendo.mobile.all.min.css" rel="stylesheet" type="text/css" />
8-
<link href="http://cdn.kendostatic.com/2014.3.1119/styles/kendo.dataviz.min.css" rel="stylesheet" type="text/css" />
9-
<link href="http://cdn.kendostatic.com/2014.3.1119/styles/kendo.default.min.css" rel="stylesheet" type="text/css" />
10-
<link href="http://cdn.kendostatic.com/2014.3.1119/styles/kendo.dataviz.default.min.css" rel="stylesheet" type="text/css" />
11-
<script src="http://cdn.kendostatic.com/2014.3.1119/js/jquery.min.js"></script>
12-
<script src="http://cdn.kendostatic.com/2014.3.1119/js/jszip.min.js"></script>
13-
<script src="http://cdn.kendostatic.com/2014.3.1119/js/kendo.all.min.js"></script>
14-
<script src="http://cdn.kendostatic.com/2014.3.1119/js/kendo.aspnetmvc.min.js"></script>
6+
7+
<link rel="stylesheet" href="https://kendo.cdn.telerik.com/2017.3.1026/styles/kendo.common.min.css">
8+
<link rel="stylesheet" href="https://kendo.cdn.telerik.com/2017.3.1026/styles/kendo.default.min.css">
9+
10+
<script src="https://code.jquery.com/jquery-1.12.3.min.js"></script>
11+
<script src="https://kendo.cdn.telerik.com/2017.3.1026/js/jszip.min.js"></script>
12+
<script src="https://kendo.cdn.telerik.com/2017.3.1026/js/kendo.all.min.js"></script>
13+
<script src="https://kendo.cdn.telerik.com/2017.3.1026/js/kendo.aspnetmvc.min.js"></script>
1514
</head>
1615
<body>
1716
<header>

grid/batch-editing/KendoGridBatchEditing/Views/web.config

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
<configuration>
44
<configSections>
5-
<sectionGroup name="system.web.webPages.razor" type="System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup, System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
6-
<section name="host" type="System.Web.WebPages.Razor.Configuration.HostSection, System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />
7-
<section name="pages" type="System.Web.WebPages.Razor.Configuration.RazorPagesSection, System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />
5+
<sectionGroup name="system.web.webPages.razor" type="System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
6+
<section name="host" type="System.Web.WebPages.Razor.Configuration.HostSection, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />
7+
<section name="pages" type="System.Web.WebPages.Razor.Configuration.RazorPagesSection, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />
88
</sectionGroup>
99
</configSections>
1010

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="EntityFramework" version="5.0.0" targetFramework="net40" />
4-
<package id="Microsoft.AspNet.Mvc" version="4.0.30506.0" targetFramework="net40" />
5-
<package id="Microsoft.AspNet.Razor" version="2.0.30506.0" targetFramework="net40" />
3+
<package id="EntityFramework" version="5.0.0" targetFramework="net461" />
4+
<package id="Microsoft.AspNet.Mvc" version="5.2.3" targetFramework="net461" />
5+
<package id="Microsoft.AspNet.Razor" version="3.2.3" targetFramework="net461" />
66
<package id="Microsoft.AspNet.Web.Optimization" version="1.0.0" targetFramework="net40" />
7-
<package id="Microsoft.AspNet.WebPages" version="2.0.30506.0" targetFramework="net40" />
7+
<package id="Microsoft.AspNet.WebPages" version="3.2.3" targetFramework="net461" />
88
<package id="Microsoft.Web.Infrastructure" version="1.0.0.0" targetFramework="net40" />
99
<package id="WebGrease" version="1.3.0" targetFramework="net40" />
1010
</packages>

grid/batch-editing/KendoGridBatchEditing/web.config

Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,32 @@
55
-->
66
<configuration>
77
<configSections>
8+
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
89
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
9-
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=4.4.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
1010
</configSections>
1111
<appSettings>
12-
<add key="webpages:Version" value="2.0.0.0" />
12+
<add key="webpages:Version" value="3.0.0.0" />
1313
<add key="webpages:Enabled" value="true" />
1414
<add key="PreserveLoginUrl" value="true" />
1515
<add key="ClientValidationEnabled" value="true" />
1616
<add key="UnobtrusiveJavaScriptEnabled" value="true" />
1717
</appSettings>
18+
<!--
19+
For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367.
20+
21+
The following attributes can be set on the <httpRuntime> tag.
22+
<system.Web>
23+
<httpRuntime targetFramework="4.6.1" />
24+
</system.Web>
25+
-->
1826
<system.web>
19-
<compilation debug="true" targetFramework="4.0">
27+
<compilation debug="true" targetFramework="4.6.1">
2028
<assemblies>
2129
<add assembly="System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
2230
<add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
2331
</assemblies>
2432
</compilation>
25-
<pages>
33+
<pages controlRenderingCompatibilityVersion="4.0">
2634
<namespaces>
2735
<add namespace="System.Web.Helpers" />
2836
<add namespace="System.Web.Mvc" />
@@ -51,17 +59,25 @@
5159
<assemblyIdentity name="DotNetOpenAuth.Core" publicKeyToken="2780ccd10d57b246" culture="neutral" />
5260
<bindingRedirect oldVersion="0.0.0.0-4.1.0.0" newVersion="4.1.0.0" />
5361
</dependentAssembly>
54-
<dependentAssembly>
55-
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" culture="neutral" />
56-
<bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
57-
</dependentAssembly>
5862
<dependentAssembly>
5963
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" />
6064
<bindingRedirect oldVersion="0.0.0.0-1.3.0.0" newVersion="1.3.0.0" />
6165
</dependentAssembly>
66+
<dependentAssembly>
67+
<assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
68+
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
69+
</dependentAssembly>
70+
<dependentAssembly>
71+
<assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
72+
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
73+
</dependentAssembly>
74+
<dependentAssembly>
75+
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
76+
<bindingRedirect oldVersion="1.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
77+
</dependentAssembly>
6278
</assemblyBinding>
6379
</runtime>
6480
<connectionStrings>
65-
<add name="NorthwindEntities" connectionString="metadata=res://*/Models.Northwind.csdl|res://*/Models.Northwind.ssdl|res://*/Models.Northwind.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=(LocalDB)\v11.0;attachdbfilename=|DataDirectory|\Northwind.mdf;integrated security=True;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />
81+
<add name="NorthwindEntities" connectionString="metadata=res://*/Models.Northwind.csdl|res://*/Models.Northwind.ssdl|res://*/Models.Northwind.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=(LocalDB)\mssqllocaldb;attachdbfilename=|DataDirectory|\Northwind.mdf;integrated security=True;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />
6682
</connectionStrings>
6783
</configuration>
-1.65 MB
Binary file not shown.

0 commit comments

Comments
 (0)