I want to rotate the header text to 90 degree.
<style>
.rotate-text {
float: left;
line-height: 0.7;
-ms-transform: rotate(-90deg);
-webkit-transform: rotate(-90deg);
transform: rotate(-90deg);
margin: 0;
padding: 0;
}
</style>columns.Bound(c => c.Number).ClientHeaderTemplate("<div class='' >#=???#</div>");
How can i access the original header text inside of the template ?
I tried to update VS to the latest version and encountered a looping error in the Telerik Xamarin extensions.
After killing VS, I was able to update but the UI would then hang as soon as I tried to right-click on the project tree view (if I waited long enough - 45-60 seconds - it would sometimes "come back to life" but would still be unworkable).
Disabling the extensions did not fix the issue. I had to repair VS and reboot.
Hi,
I’m trying
to load the data from an external source and, depending of that data, I would
like to automatically set the right page in the Wizard.
How can I programmatically select that page?
Thank you

Hi,
What is the method for defining custom validation in a Form? For example, in the Kendo UI for jQuery Form validation demo (https://demos.telerik.com/kendo-ui/form/validation) there is custom validation performed on the RetireDate to ensure that it's after the HireDate. However, the ASP.NET Core validation demo (https://demos.telerik.com/aspnet-core/form/validation) contains no such validation. Would it be possible to provide an example on how to perform this validation using ASP.NET Core?
Thanks,
Scott

Hello,
I am currently in the process of localize a webapp. As I understood we're able to create custom localization files (either as a .js file or a .resx file) and use them to replace different labels from telerik components (e.g 'Drag a column header and drop it here to group by that column' for grid grouping). The localization also includes the formatting of dates and currencies (basically the '.kendo.culture' -js for dates and formatting and the '.kendo.messages' for labels).
My first question:
Is there a differene between creating a custom .js localization file or a custom .resx file(best practise, usability etc)? Most demos/example just using .js files for the localization and a few tutorials recommend to modifiy the .resx file, so I'm a bit confused.
Second question:
Is there any way to use a localization file for 'hard strings' inside a html? Basically my ViewModel includes some properties which are displayed directly in a .cshtml file with a key before the property itself.
For example :
<div>Firstname: @Model.Firstname</div>
My goal is to create multiple localization files that includes the key e.g "Firstname" and display it based on the current culture.
Something like this
<div> @GetLocalizationStringWithWhatever("firstname") : @Model.Firstname </div>// Result :// If culture 'German' = <div>Vorname : Joe </div>// if culture 'France' = <div>Prénom : Joe </div>// if culture 'Italien' = <div>Nome di battesimo : joe </div>
There are probably multiple ways to achieve my goal (e.g safe the keys in a json and read it based on the current culture etc) but im curious if theres anyway to use the telerik (custom) localization files because I need them anyway and I'll be able to use one way to localize my entire webapp. I've tried to find something like that in demos/examples but it seems like theres no example yet. Is it possible?
Third question :
This question is very similar to my second question but basically my ViewModel got a few Date properties which are displayed directly in my .cshtml file. Currently I'm displaying them like this:
@Model.RandomDateVariable.Value.ToString("dd.MM.yyyy HH:mm");The problem is the Dateformat won't change if the culture changes. The grid for example changes the dateformat if the culture changes and I want to achieve something similar directly inside a cshtml file. Again it seems like theres no demo/example/tutorial on how to achieve something like that. Is it possible?
Thanks in advance!
Greetings!

Hi,
I wonder if it is possible to show the number of records in the group in the group header in brackets or parentheses?
For example:
Type: Box (10) --> It should be the group label in the grid.
See the picture attached for details.
Hi,
I have a grid where the user can create groups by dragging the title of the column. This grid is paged by 20 records, but it can be changed, there are 5 different page sizes.
When the user creates a group, it will show only the 20 records for the group. But, I expect that when the user collapses the group, it brings the next group and shows the next 20 records from the next group. Is this possible? Nowadays, it just collapses the current group and leaves an empty space. See the picture attached.

Hello, I have a grid that uses ClientTemplates to display the name associated with an id. When grouping, the id shows instead of the specified name. Is there any way to fix this to group by the selected text from the dropdown created in the ClientTemplate rather than the associated id?
Grid
@(Html.Kendo().Grid<BCGS.Classes.BCGSSite>
()
.Name("sites")
.Columns(columns =>
{
columns.Bound(s => s.SiteName).HeaderHtmlAttributes(new { @style = "font-weight:bold" }); ;
columns.Bound(s => s.DistrictDisplayName).Title("District").HeaderHtmlAttributes(new { @style = "font-weight:bold" });
columns.Bound(s => s.CountyId).Title("County").ClientTemplate("#=CountyName#").HeaderHtmlAttributes(new { @style = "font-weight:bold" });
columns.Bound(s => s.Active).ClientTemplate("#= Active? 'Yes' : 'No' # <value ='#= Active #' />").HeaderHtmlAttributes(new { @style = "font-weight:bold" });
columns.Bound(s => s.SiteCategoryId).Title("Category").ClientTemplate("#=CategoryName#").HeaderHtmlAttributes(new { @style = "font-weight:bold" });
columns.Bound(s => s.SpecialtyId).Title("Speciality").ClientTemplate("#=SpecialtyName#").HeaderHtmlAttributes(new { @style = "font-weight:bold" });
columns.Bound(s => s.Address1).Title("Address 1").HeaderHtmlAttributes(new { @style = "font-weight:bold" });
columns.Bound(s => s.Address2).Title("Address 2").HeaderHtmlAttributes(new { @style = "font-weight:bold" });
columns.Bound(s => s.City).HeaderHtmlAttributes(new { @style = "font-weight:bold" });
columns.Bound(s => s.State).HeaderHtmlAttributes(new { @style = "font-weight:bold" });
columns.Bound(s => s.PostalCode).Title("Zip Code").HeaderHtmlAttributes(new { @style = "font-weight:bold" });
columns.Command(command => { command.Edit(); command.Destroy(); }).Width(240);
})
.Groupable(g => g.Enabled(true))
.ToolBar(toolbar =>
{
toolbar.Search();
toolbar.Excel();
toolbar.Create();
})
.Excel(excel =>
excel.FileName("Sites.xlsx")
.ProxyURL(Url.Action("Excel_Export_Save", "Grid"))
.AllPages(true))
.Sortable()
.Pageable()
.Editable(editable => editable.Mode(GridEditMode.InLine))
.DataSource(source => source
.Ajax()
.PageSize(50)
.Events(events => {
events.Error("error_handler");
events.Sync("update");
})
.Model(model =>
{
model.Id(s => s.SiteID);
model.Field(s => s.SiteName).Editable(true);
model.Field(s => s.DistrictDisplayName).Editable(false);
model.Field(s => s.SiteCategoryId).Editable(true);
model.Field(s => s.CountyId).Editable(true);
model.Field(s => s.Active).Editable(true).DefaultValue(true);
model.Field(s => s.Address1).Editable(true);
model.Field(s => s.Address2).Editable(true);
model.Field(s => s.City).Editable(true);
model.Field(s => s.State).Editable(true);
model.Field(s => s.PostalCode).Editable(true);
model.Field(s => s.SpecialtyId).Editable(true);
})
.Create(create => create.Action("SiteEdit", "Admin"))
.Update(update => update.Action("SiteEdit", "Admin"))
.Destroy(destroy => destroy.Action("SiteDelete", "Admin"))
.Read(read => read.Action("SiteGrid", "Admin"))
)
)
EditorTemplate
@model BCGS.Classes.BCGSSite
@(Html.Kendo().DropDownListFor(m => m)
.DataTextField("CountyName")
.DataValueField("CountyId")
.AutoBind(false)
.HtmlAttributes(new { data_value_primitive = "true"})
.OptionLabel(" ")
.BindTo((System.Collections.IEnumerable)ViewData["counties"]))
Thank you,
Megan

Is there a way to conditionally hide/show items in a form? In my form I have a dropdown list with a Change handler. Based on the item selected in the list, I either want to display the Budget field or the HourlyMin and HourlyMax fields. I'm not sure how to do this.items.Add() .Field(p => p.Budget) .Label(label => label.Text("Budget"));items.Add() .Field(p => p.HourlyMin) .Label(label => label.Text("Hourly Min"));items.Add() .Field(p => p.HourlyMax) .Label(label => label.Text("Hourly Max"));
Thanks!