or
<script id="myTemplate" type="text/kendo-tmpl"><%: Html.Kendo().Grid<MyModel>() .Name("ThisGrid") .Columns(columns => { columns.Bound(n => n.value) .Title("Col1") .Width(100); columns.Bound(n => n.IsEnabled) .Width(100) .ClientTemplate( "# if (IsEnabled) { #" + "Yes" + "#} else {#" + "No" + "#}#"); columns.Command(command => command.Custom( "# if(IsEnabled) { #" + "Disable" + "#} else { #" + "Enable" + "#}#").Click("updateModel")).Width(40); }) .DataSource(dataSource => dataSource .Ajax() .Read(read => read.Action( "Binding_Model", "MyController"))) .Pageable() .Sortable() .ToClientTemplate()%>var kendoDefaultParams = {
// removed for clarity dataBound: onDataBound,
// removed for clarity};$("#grid").kendoGrid(kendoDefaultParams);function onDataBound() { gva.reSelectElements();};reSelectElements = function () { // gva.selectedVms() contains the previous selected elements if (gva.selectedVms().length == 0 || gva.selectedVms() == null || gva.selectedVms() == undefined) { return; } var id = gva.selectedVms()[0].uid; var grid = $("#grid").data("kendoGrid"); var row = grid.table.find("tr[data-uid=\"" + id + "\"]"); grid.select(row);};$(
"#myCalendar").kendoCalendar().data("kendoCalendar")._current.getMonth()
Any help would be greatly appreciated!
<telerik:radbarcode runat="server" Height="112px" ShowChecksum="False" ShowText="False" Text="DccPGDqsRRMA" Type="Code128A" Width="463px"></telerik:radbarcode>
is there a way to use the radbarcode in the razor engine?
using MVC 4 with Kendo complete for MVVC
Thanks