When I use EditorTemplate in a grid inside ClientDetailTemplateId I get "Invalid template" error due to
1. In EditorTemplate you cannot use # or you should double it ## this is clear
2. I need to user kendo control in EditorTemplate and I try to use ToClientTemplate() so kendo convert html for valid for EditorTemplate like
@Html.Kendo().DropDownListFor(m => m.Person).ToClientTemplate()
But I still get error because kendo clause above converts into
<input id="Person" name="Person" style="width:100%;" type="text" value="" />
<script>jQuery(function(){jQuery("#Person").kendoDropDownList({"autoBind":true,"dataTextField":"FullName","dataValueField":"PersonId","dataSource":{"transport":{"read":{"url":"/Administration/Students_Read","data":function() { return kendo.ui.DropDownList.requestData(jQuery("#Person")); }},"prefix":""},"serverFiltering":true,"filter":[],"schema":{"errors":"Errors"}}});});</script></div>' Generated code:'var $kendoOutput, $kendoHtmlEncode = kendo.htmlEncode;with(data){$kendoOutput='<input data-val="true" data-val-required="The RegisterGroupId field is required." id="RegisterGroupId" name="RegisterGroupId" type="hidden" value="" /><div class="k-edit-label"> <label for="Person">Person</label></div><div class="editor-field"> <input id="Person" name="Person" style="width:100%;" type="text" value="" /><script>jQuery(function(){jQuery("';Person").kendoDropDownList({"autoBind":true,"dataTextField":"FullName","dataValueField":"PersonId","dataSource":{"transport":{"read":{"url":"/Administration/Students_Read","data":function() { return kendo.ui.DropDownList.requestData(jQuery(";$kendoOutput+='Person")); }},"prefix":""},"serverFiltering":true,"filter":[],"schema":{"errors":"Errors"}}});});</script>
I believe problem in jQuery("#Person") having hash. But it is a kinda result of ToClientTemplate() where I expect proper template for ClientTemplat
I can workaround it using onEdit event of I grid and using kendo UI manually to make kendo control
(like <input id="Person" name="Person" style="width:100%;" type="text" value="" /> in EditorTemplate and JQuery in onEdit) but it is a inconvenience. Whole thing of kendo for mvc in ability to use mvc control in view
Hi,
I'm in a trial version to test your Grid component. When it's filter enabled and there are a lot of quick queries it crash (Open connection exception). It happens in async version too:
public IActionResult GetData([DataSourceRequest] DataSourceRequest request)
{
return Json(this._seasonRepository.Query().ToDataSourceResult(request));
}
Se produjo la excepción System.InvalidOperationException.
HResult=0x80131509
Mensaje = ExecuteReader requires an open and available Connection. The connection's current state is open.
Origen = System.Data.SqlClient
Seguimiento de la pila:
at System.Data.SqlClient.SqlConnection.GetOpenTdsConnection(String method)
at System.Data.SqlClient.SqlConnection.ValidateConnectionForExecute(String method, SqlCommand command)
at System.Data.SqlClient.SqlCommand.ValidateCommand(Boolean async, String method)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.Execute(IRelationalConnection connection, String executeMethod, IReadOnlyDictionary`2 parameterValues, Boolean closeConnection)
at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.ExecuteReader(IRelationalConnection connection, IReadOnlyDictionary`2 parameterValues)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable.Enumerator.BufferlessMoveNext(Boolean buffer)
at Microsoft.EntityFrameworkCore.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](Func`2 operation, Func`2 verifySucceeded, TState state)
at Microsoft.EntityFrameworkCore.Query.QueryMethodProvider.<_ShapedQuery>d__3`1.MoveNext()
at Microsoft.EntityFrameworkCore.Query.Internal.LinqOperatorProvider.<_TrackEntities>d__15`2.MoveNext()
at Microsoft.EntityFrameworkCore.Query.Internal.LinqOperatorProvider.ExceptionInterceptor`1.EnumeratorExceptionInterceptor.MoveNext()
at Kendo.Mvc.Extensions.QueryableExtensions.Execute[TModel,TResult](IQueryable source, Func`2 selector)
at Kendo.Mvc.Extensions.QueryableExtensions.CreateDataSourceResult[TModel,TResult](IQueryable queryable, DataSourceRequest request, ModelStateDictionary modelState, Func`2 selector)
at Kendo.Mvc.Extensions.QueryableExtensions.ToDataSourceResult(IQueryable queryable, DataSourceRequest request)
at Oleoshop.Areas.Admin.Controllers.Commerce.Catalog.SeasonsController.GetData(DataSourceRequest request) in
This is my Grid razor configuration (very simple to test)
@(Html.Kendo().Grid<Oleo.Commerce.Catalog.Season>()
.Name("grid")
.DataSource(dataSource => dataSource
.Ajax()
.ServerOperation(true)
.Read(read => read.Action("GetData", "Seasons"))
)
.Columns(columns =>
{
columns.Bound(c => c.Id).Width(140).Filterable(ftb => ftb.Cell(cell => cell.ShowOperators(false)));
columns.Bound(c => c.Name).Width(500).Filterable(ftb => ftb.Cell(cell => cell.Operator("contains")));
columns.Bound(c => c.Reference).Width(500).Filterable(ftb => ftb.Cell(cell => cell.Operator("contains")));
})
.Scrollable(x => x.Height(700))
.Groupable()
.Sortable()
.Pageable(pageable => pageable
.Refresh(true)
.PageSizes(true)
.ButtonCount(5))
.Resizable(resize => resize.Columns(true))
.Filterable(ftb => ftb.Mode(GridFilterMode.Row))
)
Please let me know
Regards

Hi everyone,
I have a grid with some fields and one of them is a date type and I have the next problem:
I have the grid set with any culture and all works fine(operators, pager messages, etc) but the filter menu that contains the operators to filter that column not take the current culture.
Example:
All columns and messages in the grid are in Spanish but the operators in the filter menu on the date column are in English.
Any help?
Regards!

Hello,
How can I hide and stop filter suggestion in column's grid?
Thanks!

We are getting the following error when using the new ASP.NET core packages with Telerik ... we have updated all of our references to the newest libraries... so I guess the question is.. "When is support for the new libraries going to be available?"
This happens on the services.AddKendo() call...
Exception thrown: 'System.IO.FileLoadException' in Carepilot.exe
Additional information: Could not load file or assembly 'Microsoft.AspNetCore.Mvc.Core, Version=1.0.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Thanks,
AJ

dear team,
I need to change the radhtmlchart type programatically in asp.net.Is it possible.If so how.
thanks,
Murali

Hi
How can i remove RadEditor's bottom extra space?
<telerik:RadEditor runat="server" ID="RadEditor1" OnClientLoad="OnClientLoad" ></telerik:RadEditor>Hi,
I have the following Toolbar but all the Font awesome Icons are invisible?
adding the style as discribed in the docs doesn't help...
.fa.k-sprite, .fa.k-sprite::before { font-size: 12px; line-height: 12px; }
@(Html.Kendo().ToolBar() .Name("tlbStandort") .Items(items => { items.Add().Type(CommandType.SplitButton).Text("Neu").SpriteCssClass("fa fa-plus").MenuButtons(menuButtons => { menuButtons.Add().Text("Fachgruppenzugeörigkeit").SpriteCssClass("fa fa-plus"); menuButtons.Add().Text("Telekomverbindung").SpriteCssClass("fa fa-plus"); menuButtons.Add().Text("Zusendung").SpriteCssClass("fa fa-plus"); }); items.Add().Type(CommandType.Separator); items.Add().Type(CommandType.ButtonGroup).Buttons(buttons => { buttons.Add().Id("toolStandorteFilter_Alle").Text("Alle").Togglable(true).Group("Filter").Selected(); buttons.Add().Id("toolStandorteFilter_Active").Text("Aktive").Togglable(true).Group("Filter").SpriteCssClass("fa fa-filter"); buttons.Add().Id("toolStandorteFilter_Geloeschte").Text("Gelöschte").Togglable(true).Group("Filter").SpriteCssClass("fa fa-filter"); }); items.Add().Type(CommandType.Button).Id("ExpandCollapse").SpriteCssClass("fa fa-indent").Togglable(true); ; }) )Hi,
I have the Problem that no Icon (glyphicon or Kendo icon) is shown with "SpriteCssClasses " in Toolbar and Context menu (see attached Pictures)
<!--ContextMenu--> @(Html.Kendo().ContextMenu() .Name("ctmStandort") .Target("#grdStandort").Filter("button").AlignToAnchor(true).ShowOn("click") .Orientation(ContextMenuOrientation.Vertical) .Animation(false) .Items(items => { items.Add() .Text("Öffnen"); items.Add() .Text("Neu").SpriteCssClasses("glyphicon glyphicon-plus") .Items(children => { children.Add().Text("Akt hinzufügen"); children.Add().Text("Profil hinzufügen"); }); items.Add() .Text("Stammblatt").SpriteCssClasses("k-icon k-i-print k-i-printer") .Items(children => { children.Add().Text("Intern"); children.Add().Text("Intern-Selbstdefiniert"); children.Add().Separator(true); children.Add().Text("Extern"); children.Add().Text("Extern-Selbstdefiniert"); }); items.Add() .Text("Löschen").SpriteCssClasses("k-icon k-i-table-row-delete").Enabled(true); }) ) <!--End ContextMenu-->We have started building a new ASPNETCORE project and are using Visual Studio 2015 with TFS 2015 Update 3, I am wondering what I need to do to get the project building with Telerik controls?
I have a non Telerik control ASPNETCORE project working and building just fine, but for some reason I can not find what I need to do to be able to get the telerik controls to resolve during the build process.
The error we see is: Unable to resolve 'Telerik.UI.for.AspNet.Core.Trial (>= 2016.3.1118)' for '.NETFramework,Version=v4.5.2'.
I am restoring the other dependencies but it fails on this.
Also we recently purchased the control so this should switch from the Trial version of Telerik to the full version of Telerik.
Any guidance you can provide is greatly appreciated.
Thanks,
Nick
