Trying to refresh a tab on the TabStrip with a different URL. The below code use to work but doesn't anymore since upgrading to the most resent 2017.3.1026 release.
var refreshUrl = '@Url.Action("TabContent", "Home")/' + param;
var tabstrip = $("#lobbyTabStrip").data("kendoTabStrip");
var tab = tabstrip.select();
$($('#tabStrip').find('a.k-link')[tab.index()]).data('contentUrl', refreshUrl);
tabstrip.reload(tab);
The URL isn't being updated, same url as before is being updated. What do I need to do to make this work again.
Hi!
Please have a look at this demo: http://dojo.telerik.com/AWamE
Try typing non-number values inside the phone section. You will get a validation message, but you have to click 2 times the "cancel" button to dismiss.
I'm using the kendo-multi-select directive (Kendo for AngularJS) with an array as a data source (no server filtering).
When I type in the multi select component to filter, the dataBound event is fired along with the 'filtering' event, although the documentation states that this event is "Fired when the widget is bound to data from its data source", which in my case is only once.
Is this the correct behavior for the dataBound event? Or is it a bug?
And if that's the correct behavior, what is the difference between the dataBound event and the 'filtering' event?
Thanks
Is it possible to have a bootstrap dropdown menu in a grid?
<button class="btn btn-xs btn-default dropdown-toggle" data-toggle="dropdown"><i class="fa fa-caret-down" aria-hidden="true"></i></button>
<ul class="dropdown-menu">
<li>
<a href="/home/redirecttosystem?systemid=1">Evidence</a>
</li>
<li>
<a href="/home/redirecttosystem?systemid=3">QMaster</a>
</li>
<li>
<a href="/home/redirecttosystem?systemid=4">Impound</a>
</li>
</ul>
Hello support,
are the icons for a window's pinned state (true/false) correct?
To me they seemed switched around.
Please see https://demos.telerik.com/kendo-ui/window/index
Shouldn't the icon for pinned = true state (where the window can't be dragged) be the vertical pin?
/Morten
We are using a Grid with a dynamic type. This has been working for us until we ran into the problem of a column editor template receiving null data. The editor template accepts non-nullable TimeSpans but when the grid initializes it is trying to send this editor template a null TimeSpan object. When I change the grid to one of the classes it should be getting such as DownTimeViewModel this error doesn't happen.
"Message: The model item passed into the dictionary is null, but this dictionary requires a non-null model item of type 'System.TimeSpan'."
@(Html.Kendo().Grid<
dynamic
>()
.Name("SomeName")
.Columns(columns =>
{
foreach (Field field in cols)
{
if (string.IsNullOrWhiteSpace(field.EditorTemplateName))
{
throw new NotImplementedException("EditorTemplate is not set and it needs to be");
}
columns.Bound(field.Member)
.Title(field.Title)
.Visible(field.Visible)
.Hidden(field.Hidden)
.Filterable(field.Filterable)
.IncludeInMenu(field.IncludeInMenu)
.Encoded(field.Encoded)
.Format(field.Format)
.Width(field.Width)
.Sortable(field.Sortable)
.ClientTemplate(field.ClientTemplate)
.EditorTemplateName(field.EditorTemplateName)
.HeaderHtmlAttributes(field.HeaderHtmlAttributes)
.EditorViewData(Util.CreateNewObject(field.AdditionalViewData));
}
})
.Scrollable()
.ToolBar(toolbar =>
{
toolbar.Create();
toolbar.Custom().Text("Delete").Action("Grid_Delete", "Downtime", new { WONumber = Model.WONumber });
//toolbar.Save();
})
.Editable(editable => editable.Mode(GridEditMode.InCell))
.Sortable()
.DataSource(dataSource => dataSource
.Ajax()
.Batch(true)
.PageSize(5)
.Model(model =>
{
foreach (Field field in cols)
{
model.Id(field.Member);
}
foreach (Field field in cols)
{
model.Field(field.Member, field.MemberType).DefaultValue(field.DefaultValue).Editable(field.Editable);
}
}
)
.Read(read => read.Action("Grid_Read", "Downtime", new { id = Model.WONumber.ToString() }))
.Create(create => create.Action("Grid_Create", "Downtime"))
.Update(update => update.Action("Grid_Update", "Downtime"))
.Destroy(destroy => destroy.Action("Grid_Delete", "Downtime"))
))
Hello,
in kendo.all.d.ts is where it is defined that for properties in interface DataSourceTransport Function can be used in the interface and therefore does not want to DataSourceTransportWithFunctionOperations what is TypeScript 2.5 Compiler to compile the project.
Rewards
I. Stanek
Hi,
Is it possible to create a scheduler that show 2 or more days like the outlook calendar?