Hello,
I have a problems with @(Html.Kendo().Editor() in Vistual Studio 2015 ASP.NET 5 MVC 6 beta 8 with "Kendo.Mvc : 2015.3.1111".
No overload for method 'Editor' takes 0 arguments
When will it be available?
Best Regards
Davide
My use case involves the user editing the content of the editor while the server occasionally updates some of the values in the text
However, when the server sends an update and the editor.value("string") happens, the cursor position is reset to the start of the text, instead of leaving it where it is
I've tried fiddling with selected ranges and such but it doesn't seem to be working
Example
if search text is "xx", no items are displayed. Instead I would like to have the following result:
I'm not sure if this us something that a Keno control could handle but I thought I'd best ask anyway. On part of my form the user can add multiple entires before submission. I need to know if it's possible to handle this behaviour with Kendo controls? I've attached a couple of images to show you what I mean.
The user can add as many items as they want.
Many thanks
Allan
Hi,
With filterable->mode set to row, is it possible to filter a date between two dates? I found this thread http://www.telerik.com/forums/how-to-define-a-kendo-grid-column-filter-between-two-dates, and currently have it applied to grid menu filter, but not sure how to make it work when the filterable mode is row.
Thanks,
Lisa
I am in need of some help, I'm building a web application that uses the KendoUI, specifically the grid to display data. I've used the entity framework under a "database first" scenario, this means that the models are created for me for all the tables in my database. I'm displaying this data in the Kendo grid but I can't edit or delete any of the entries (inline with ajax). If you delete an item it returns when you regresh the screen and the update button does nothing. I suspect this is because we have no functions to handle these events.
Is there anyway I can utilise the already created scaffolded controller to do this as it already as an edit and delete function in it.
Any help would be appreciated.
Hi,
I have 2 Kendo Grids in which 2nd grid is read based on the selection of row of 1st grid. The code is:
1st grid
<% Html.Kendo().Grid<EvaluationsQuestionsEvaluationVersionGridViewModel>(Model.VersionsGridModel)
.Name("Versions")
.DataSource(dataSource => dataSource
.Ajax()
.Model(model => model.Id(a => a.EvaluationVersionId))
.ServerOperation(true)
.Create(create => create.Action("InsertEvaluationVersion", "Evaluations"))
.Read(read => read.Action("LoadEvaluationsQuestionsEvaluationVersionGridAjax", "Evaluations"))
.Update(update => update.Action("UpdateEvaluationVersion", "Evaluations").Data("onUpdateEvaluationVersion"))
)
.Events(e => e.Change("onVersionGridRowSelect")
.Edit("onEditEvaluationsVersion")
.Save("onSaveEvaluationsVersion")
)
.....
2nd grid
<% Html.Kendo().Grid<EvaluationsQuestionsEvaluationPillarsGridViewModel>()
.Name("Pillars")
.DataSource(dataSource => dataSource
.Ajax()
.Model(model => model.Id(a => a.EvaluationMasterPillarId))
.ServerOperation(true)
.Read(read => read.Action("LoadEvaluationsQuestionsEvaluationPillarsGridAjax", "Evaluations")
.Data("onLoadEvaluationsQuestionsEvaluationPillarsGridData"))
)
......
function onVersionGridRowSelect(e) {
var grid = $("#Versions").data("kendoGrid");
var currentRow = grid.dataItem(grid.select());
var evaluationVersionId = currentRow.EvaluationVersionId;
$('#evaluationVersionId').val(evaluationVersionId);
$("#Pillars").data("kendoDropDownList").dataSource.read();
}
function onLoadEvaluationsQuestionsEvaluationPillarsGridData(e) {
var evaluationVersionId = $('#evaluationVersionId').val(); // "evaluationVersionId" is set beforehand
var showDeletedCheckbox = $('#Checkbox1').val();
return { evaluationVersionId: evaluationVersionId, showDeleted: showDeletedCheckbox }
}
But 2nd grid can not be read because Data function "onLoadEvaluationsQuestionsEvaluationPillarsGridData" is not called. So what is the problem in code? Thanks.
Hello to all.
I'd like to validate a field, for example the standard Title field in an Calendar Event.
The validation works well in the BASIC example:
http://demos.telerik.com/aspnet-mvc/scheduler/index
I added the [Required] attribute on the Model.
Anyway in my code, the generated HTML code doesn't have the "required" attribute end not any validation is performed.
Someone can help me please?