Hello,
I'm working in a project in which all the Kendo Components are used in the UI.
We need, due to a client request, to change the chosen default option in the filters of ALL THE GRIDS.
To explain a little bit more, we need to pass from "Is equal" (Please see the picture attached) to "contains" when we filter a column.
I know we can customize the filter operators and options for a particular grid, but in this case we want to apply the change in ALL THE GRIDS without update the options to each.
Hope I was clear when I explained the need.
Thanks in advance.
Since some weeks/months, the Upgrade wizard tells me that my .NET Framework 4.8 ASP.NET MVC project has to be upgraded.
If I then start the wizard, the UI stalls. I've waited for hours, still, only killing VS helps.
Right before it gets closed, after I killed it, a short notification bar appears on top of VS that reads:
Feature 'Symbol search' is currently unavailable due to an internal error.
My question:
What can I do to make the project upgrade wizard work again for my project?
Hi Guys
This stupid little issue is taking up way way too much time for me to resolve..
I am setting a timepicker as follows:
<td class="tg-7uzy">
@Code
With Html.Kendo().TimePicker()
.Name("1Open")
.Events(Function(events) events.Change("settime"))
.Value(New TimeSpan(0, Model.Hours(1).open, 0))
.Min(New TimeSpan(0, 0, 0))
.Max(New TimeSpan(0, 0, 0))
.Render()
End With
End Code
</td>
The result is as per the attached screen shot.
It 'looks like' the values are set right as the timepickers have the correct times , but when you drop down, it always starts at midnight and the current time is not highlighted. I assume the timepicker needs the value to be set with AM or PM .. but that can't be done from a TimeSpan or a datetime.. the am pm always has dots ( a.m. , p.m.)
If tried adding .Format("HH:mm:tt") and .ParseFormats(New String() {"HH:mm:tt"}) etc, but I just can't get it to work. ( I've tried allot more formats than just these, I've tried "HH:mm tt" ,"HH:mm t.t." ( cause it's the dots around the am pm which seems to be whats stopping.))
Feeling a bit stupid having to ask this as it seems to be a straightforward thing.
I'm sure I will have a Face palm moment when shown the error in my ways.. but I've got to the point of not caring! :)
Cheers
Rob
Hi,
I have a Kendo DropDownList as follow:
Html.Kendo().DropDownList()
.Name("ddl_" + filter.ReportProcedureId.ToString())
.Items(i => i.Add().Text(filter.DefaultValue).Value(filter.DefaultValue))
.SelectedIndex(0)
.HtmlAttributes(new
{
style = "display:none;"
})
.Events(e => e
.DataBound("onDropDownBinding")).Render();
In the old Telerik MVC extension it is done in onDropDownBinding() like
function onDropDownBinding(e)
{
var isValid = true;
var reportProcedureId = e.currentTarget.id.replace('ddl_', '');
......
}
Now I want to do it in Kendo. How to do it? Thanks.
I'm trying to implement the Batch Editing functionality based on the following demo page:
ASP.NET MVC Grid Batch editing Demo | Telerik UI for ASP.NET MVC
Why are new (saved) records deleted when the Cancel Changes button is selected? Is the intended behavior?
To recreate:
1) Update an existing record.
2) Click Add New Record and create a new record.
3) Click Save Changes.
4) Click Cancel Changes. The updated record retains the new values. The new record(s) are deleted.
We're using the MultiColumnComboBox with a Custom-Datasource to utilize the ServerFiltering and ServerFiltering functionality.
Now we also want to sort the data. We're using ServerSorting + Sort, and the data is sorted correctly.
Unfortunately the Combobox picks the wrong records now, as if picking the page and record before applying the sorting.
Are we doing something wrong?
This is how our MultiColumnCombobox is set up:
@(Html.Kendo().MultiColumnComboBoxFor(model => model.KUNDE_ID)
.Columns(columns =>
{
columns.Add().Field("ADR_NR_CHAR").Title("Kundennummer").Width("150px");
columns.Add().Field("adr_name1").Title("Kundenname").Width("200px");
columns.Add().Field("adr_name2").Title("Kundenname 2").Width("200px");
columns.Add().Field("adr_strasse").Title("Strasse").Width("200px");
columns.Add().Field("adr_plz").Title("PLZ").Width("100px");
columns.Add().Field("adr_ort").Title("Ort").Width("200px");
columns.Add().Field("ntv_kz_d").Title("Land").Width("100px");
})
.DataValueField("ID")
.DataTextField("adr_name1")
.DataSource(source =>
{
source.Custom()
.ServerSorting(true)
.Sort(s => s.Add("adr_name1").Ascending())
.ServerFiltering(true)
.ServerPaging(true)
.PageSize(50)
.Type("aspnetmvc-ajax")
.Transport(transport =>
{
transport.Read("ReadCustomers", "Box");
})
.Schema(schema =>
{
schema.Data("Data").Total("Total");
});
})
.Filter(FilterType.Contains)
.FilterFields(new string[] { "ADR_NR_CHAR", "adr_name1", "adr_name2", "adr_strasse", "adr_plz", "adr_ort", "ntv_kz_d" })
.HtmlAttributes(new { @class = "form-control", style = "width:100%;" })
.Messages(m => m.NoData("Keine Daten gefunden").Clear("Leeren"))
.Virtual(v => v.ItemHeight(33).ValueMapper("valueMapper"))
)
Hello, I`ve got web application written on asp .net MVC.
In my view page I`ve got access to $(...).kendoDropDownList function, but when I try to call kendoDropDownTree on same view I get an error :
Uncaught TypeError: $(...).kendoDropDownTree is not a function.
I already checked the sequence definition of jQuery library and kento libraries and jquery goest firs.
Any Ideas?
Hi all,
Apologies if this has been answered elsewhere.
I'm new to using the Telerik tools, and I'm trying to create a Scheduler to show some deliveries. However, I'm showing the days getting progressively further and further out of line.
I'm using Google Chrome 97.0.4692.99, though the same issue exists in Microsoft Edge, and build 2022.1.119 for the Telerik controls.
I'm not using any custom CSS at this point, but as you can see in the attached screenshot, each day starts getting further and further out of line with the date header. This issue exists in Week and Timeline Week views (as shown)
Also, as a side question, is there any way to stop stacking these events side by side when they happen at the same time? If I choose all day, they'll stack on top of each other, but when a time is involved, it seems like only side by side is allowed which makes things difficult to read.
Any help would be gratefully appreciated.
We're using the MultiColumnComboBoxFor with a large amount of data, and therefore implemented virtualization as is described here: https://demos.telerik.com/aspnet-mvc/multicolumncombobox/virtualization
We ran into multiple problems with this:
Are there any drawbacks to our solution?
Hi,
I need sample code for implementing select all /deselect all with combo box in kendo mvc grid
thanks in advance
@model IEnumerable<Emplopyee>
@(
Html.Kendo().MultiSelectFor(m => m)
.DataTextField("Name")
.DataValueField("Id")
.HtmlAttributes(new { @style = "height:auto; overflow-x:auto ;" })
.Filter(FilterType.Contains.ToString())
.BindTo((IEnumerable<Employee>)ViewData["Employees"])
)