File tree 2 files changed +14
-36
lines changed
scheduler/scheduler-custom-editor/SchedulerCustomEditor
2 files changed +14
-36
lines changed Original file line number Diff line number Diff line change 29
29
<RestorePackages >true</RestorePackages >
30
30
<MvcProjectUpgradeChecked >true</MvcProjectUpgradeChecked >
31
31
<UseGlobalApplicationHostFile />
32
-
33
-
34
-
35
-
36
-
37
-
38
-
39
-
40
-
41
-
42
-
43
-
44
-
45
-
46
-
32
+ <Use64BitIISExpress />
47
33
</PropertyGroup >
48
34
<PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " >
49
35
<DebugSymbols >true</DebugSymbols >
67
53
<HintPath >..\packages\EntityFramework.5.0.0\lib\net45\EntityFramework.dll</HintPath >
68
54
</Reference >
69
55
<Reference Include =" Kendo.Mvc" >
70
-
71
56
<HintPath >..\lib\KENDOUIMVC\2017.1.223.545\Kendo.Mvc.dll</HintPath >
72
57
</Reference >
73
58
<Reference Include =" Microsoft.CSharp" />
82
67
<HintPath >..\packages\Microsoft.AspNet.WebPages.3.2.3\lib\net45\System.Web.Helpers.dll</HintPath >
83
68
<Private >True</Private >
84
69
</Reference >
85
-
86
70
<Reference Include =" System" />
87
71
<Reference Include =" System.Data" />
88
72
<Reference Include =" System.Drawing" />
172
156
<Content Include =" Views\Web.config" />
173
157
</ItemGroup >
174
158
<ItemGroup >
175
-
176
-
177
-
178
159
<Content Include =" Views\Home\About.cshtml" />
179
160
</ItemGroup >
180
161
<ItemGroup >
228
209
<ItemGroup >
229
210
<Service Include =" {508349B6-6B84-4DF5-91F0-309BEEBAD82D}" />
230
211
</ItemGroup >
231
- <ItemGroup />
232
212
<ItemGroup >
233
-
234
-
235
-
213
+ < Content Include = " Views\Home\EditorTemplates\CustomEditorTemplate.cshtml " />
214
+ </ ItemGroup >
215
+ < ItemGroup >
236
216
<EntityDeploy Include =" Models\Sample.edmx" >
237
217
<Generator >EntityModelCodeGenerator</Generator >
238
218
<LastGenOutput >Sample.Designer.cs</LastGenOutput >
253
233
<LastGenOutput >Sample.cs</LastGenOutput >
254
234
</Content >
255
235
</ItemGroup >
256
-
257
-
258
-
259
-
260
-
261
-
262
-
263
-
264
-
265
-
266
-
267
-
268
236
<PropertyGroup >
269
237
<VisualStudioVersion Condition =" '$(VisualStudioVersion)' == ''" >10.0</VisualStudioVersion >
270
238
<VSToolsPath Condition =" '$(VSToolsPath)' == ''" >$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath >
Original file line number Diff line number Diff line change 48
48
.Destroy (" Meetings_Destroy" , " Home" )
49
49
.Update (" Meetings_Update" , " Home" )
50
50
)
51
+ .Events (e => e .Edit (" onEdit" ))
51
52
)
52
53
53
54
54
55
<script type =" text/javascript" >
56
+ function onEdit (e ) {
57
+ var start = e .event .start ;
58
+ var recurrenceEditor = e .container .find (' #RecurrenceRule' ).data (' kendoRecurrenceEditor' );
59
+
60
+ recurrenceEditor .setOptions ({
61
+ start: start
62
+ });
63
+ }
64
+
55
65
function error_handler (e ) {
56
66
if (e .errors ) {
57
67
var message = " Errors:\n " ;
You can’t perform that action at this time.
0 commit comments