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
I have 3 level grid (Hierarchy sample)
I have problems if I want to edit all grids in popup editor.
First level grid open popup edit dialog with no problem but 2 and 3d level grids generate "Invalid template" error when I try to add row.
I tried to run this without EditorTemplate and with editor template with same effect (mean default editor template for my apartment is no good to kendo)
first grid
@(Html.Kendo().Grid<Dispatcher.Models.BlocksVM>()
.Name("grid")
.Columns(columns =>
{
columns.Bound(e => e.InhabitatLocationCalculated);
columns.Bound(e => e.Address);
columns.Bound(e => e.NumberOfApartments);
columns.Bound(e => e.Entrances);
columns.Bound(e => e.Stages);
columns.Command(command => { command.Edit().Text(" "); command.Destroy().Text(" "); }).Width(180);
})
.Sortable()
.Pageable()
.Scrollable(s => s.Height("1000px"))
.ToolBar(toolbar => toolbar.Create())
.Editable(editable => editable.Mode(GridEditMode.PopUp).TemplateName("Block").Window(w=>w.Title("Добавление / изменение дома")))
.Selectable()
.ClientDetailTemplateId("ApartmentsTemplate")
.HtmlAttributes(new { style = "height:100%;" })
.DataSource(dataSource => dataSource
.Ajax()
.PageSize(20)
.Read(read => read.Action("Blocks_Read", "Clients"))
.Model(model => model.Id(m => m.BlockId))
.Create(action => action.Action("Block_Create", "Clients"))
.Update(action => action.Action("Block_Update", "Clients"))
.Destroy(action => action.Action("Block_Destroy", "Clients"))
.Events(events => events.RequestEnd("cancel"))
)
.Events(events => events.DataBound("dataBound"))
)
and client template
<script id="ApartmentsTemplate" type="text/kendo-tmpl">
@(Html.Kendo().Grid<Dispatcher.Data.Apartment>()
.Name("Apartments_#=BlockId#")
.Columns(columns =>
{
columns.Bound(o => o.Number);
columns.Bound(o => o.Floor);
columns.Bound(o => o.Entrance);
columns.Command(command => { command.Edit().Text(" "); command.Destroy().Text(" "); }).Width(180);
})
.ToolBar(toolbar => toolbar.Create())
.Editable(editable => editable.Mode(GridEditMode.PopUp))
.ClientDetailTemplateId("ClientsTemplate")
.DataSource(dataSource => dataSource
.Ajax()
.PageSize(10)
.Model(model => model.Id(m => m.ApartmentId))
.Events(events => events.Error("error_handler"))
.Read(read => read.Action("Apartments_Read", "Clients", new { BlockId = "#=BlockId#" }))
.Destroy(action => action.Action("Apartment_Destroy", "Clients"))
.Update(action => action.Action("Apartment_Update", "Clients"))
.Create(action => action.Action("Apartment_Create", "Clients", new { BlockId = "#=BlockId#" }))
)
.Pageable()
.Sortable()
.Selectable()
.ToClientTemplate()
)
</script>
3d level grid shows same behaviour
So when I have NO EditorTemplates for my Apartment model I have error
if I add Apartment.aspx under EditorTemplates like
@model Dispatcher.Data.Apartment
<div class="k-edit-label">
@Html.LabelFor(model => model.Number)
</div>
<div class="editor-field">
@Html.Kendo().TextBoxFor(m => m.Number).HtmlAttributes(new { style = "width:100%;" })
</div>
<div class="k-edit-label">
@Html.LabelFor(model => model.Entrance)
</div>
<div class="editor-field">
@Html.Kendo().TextBoxFor(m => m.Entrance).HtmlAttributes(new { style = "width:100%;" })
</div>
<div class="k-edit-label">
@Html.LabelFor(model => model.Floor)
</div>
<div class="editor-field">
@Html.Kendo().TextBoxFor(m => m.Floor).HtmlAttributes(new { style = "width:100%;" })
</div>
also error.
Now I found that it works then I do have Apartment.aspx under EditorTemplates and file is EMPTY.
In this case it open popup dialog on 2d level grid with standard template.
Also I compared my view with AjaxHierarchyEditing.sln found here in AJAX section and I see absolutely no difference.
also wrong template looks like this (this is generated - from crome debugger - I just added return for readability)
<div class="k-edit-label">
<label for="Number">Номер</label>
</div>
<div class="editor-field">
<input class="k-textbox" data-val="true" data-val-required="Укажите номер квартиры" id="Number" name="Number" style="width:100%;" value="" />
</div>