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().Editor() | |
.Name("kEditor") | |
.Events(events => events | |
.Change("change") | |
.Execute("execute") | |
.Select("select") | |
.Paste("paste") | |
) | |
.Value(@<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
<p> | |
@( | |
Html.Kendo().Editor() | |
.Name("kEditor") | |
.HtmlAttributes(new {style="width:740px;height:240px"}) | |
) | |
</p> | |
<script> | |
$(document).ready(function () { | |
var editor = $("#kEditor").data("kendoEditor") |
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().ColorPicker() | |
.Name("picker") | |
) |
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().ColorPicker() | |
.Name("kPickerBasic") | |
.Palette(ColorPickerPalette.Basic) | |
) |
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().ColorPicker() | |
.Name("kPickerBasic") | |
.Palette(new string[] { | |
"#f0d0c9", "#e2a293", "#d4735e", "#65281a", | |
"#eddfda", "#dcc0b6", "#cba092", "#7b4b3a", | |
"#fcecd5", "#f9d9ab", "#f6c781", "#c87d0e", | |
"#e1dca5", "#d0c974", "#a29a36", "#514d1b", | |
"#c6d9f0", "#8db3e2", "#548dd4", "#17365d" | |
}) |
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().ColorPalette() | |
.Name("color-chooser") | |
.Palette(new string[] { "#ddd1c3", "#d2d2d2", | |
"#746153", "#3a4c8b", | |
"#ffcc33", "#fb455f", | |
"#ac120f" }) | |
.Value("#ffcc33") | |
.TileSize(30) | |
) |
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
<form id="form1" runat="server"> | |
<telerik:RadScriptManager ID="RadScriptManager1" runat="server"> | |
<Scripts> | |
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" /> | |
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" /> | |
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" /> | |
</Scripts> | |
</telerik:RadScriptManager> | |
<script type="text/javascript"> | |
//Put your JavaScript code here. |
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
<p> | |
@(Html.Kendo().ColorPalette() | |
.Name("color-chooser") | |
.Palette(new string[] { "#ddd1c3", "#d2d2d2", | |
"#746153", "#3a4c8b", | |
"#ffcc33", "#fb455f", | |
"#ac120f" }) | |
.Value("#ffcc33") | |
.TileSize(30) | |
) |
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
<p> | |
@(Html.Kendo().ColorPalette() | |
.Name("color-chooser") | |
.Palette(new string[] { "#ddd1c3", "#d2d2d2", | |
"#746153", "#3a4c8b", | |
"#ffcc33", "#fb455f", | |
"#ac120f" }) | |
.TileSize(30) | |
) | |
</p> |
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
<p> | |
@(Html.Kendo().ColorPicker() | |
.Name("palette-picker") | |
.Value("#cc2222") | |
.Palette(ColorPickerPalette.Basic) | |
.Events(events => events | |
.Select("pickerSelect") | |
.Change("pickerChange") | |
.Open("pickerOpen") | |
.Close("pickerClose") |