Created
June 15, 2012 04:40
-
-
Save jbristowe/2934695 to your computer and use it in GitHub Desktop.
HTML Helper Basics of Kendo UI for ASP.NET MVC Beta
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%: Html.Kendo().Calendar() | |
.Name("calendar") | |
%> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@(Html.Kendo().Calendar() | |
.Name("calendar") | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%: Html.Kendo().Calendar() | |
.Name("calendar") | |
.Events(e => e.Change("change")) | |
%> | |
<script> | |
function change() { | |
// handle the date change event here... | |
} | |
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@(Html.Kendo().Calendar() | |
.Name("calendar") | |
.Events(e => e.Change("change")) | |
) | |
<script> | |
function change() { | |
// handle the date change event here... | |
} | |
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@(Html.Kendo().Calendar() | |
.Name("calendar") | |
.Events(e => e | |
.Change(@<text> | |
function() { | |
/// handle the date change event here... | |
} | |
</text>) | |
) | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%: Html.Kendo().Calendar() | |
.Name("calendar") | |
.Value(DateTime.Today) | |
%> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@(Html.Kendo().Calendar() | |
.Name("calendar") | |
.Value(DateTime.Today) | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="k-widget k-calendar" id="calendar"></div> | |
<script> | |
jQuery(function(){jQuery("\#calendar").kendoCalendar({});}); | |
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="k-widget k-calendar" id="calendar"></div> | |
<script> | |
jQuery(function(){jQuery("\#calendar").kendoCalendar({value:new Date(2012,5,7,0,0,0,0)});}); | |
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="k-widget k-calendar" id="calendar"></div> | |
<script> | |
jQuery(function(){jQuery("\#calendar").kendoCalendar({change:change});}); | |
</script> | |
<script> | |
function change() { | |
// handle the date change event here... | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment