Hi there! I'm not a developer but working with one to try and get a fix for my web application. This specific issue is not happening on any desktop computer but appears to be happening on my MacBook Pro when using Safari (not Chrome) and my 5th Gen iPad in both Safari and Chrome. When access a specific section of the program it begins to 'tab' through every field on that page endlessly. When I check the network log it states 'PerformValidationActions' appears to be in a loop cycling through 'text1_enter' 'text1_leave' 'text2_enter' 'text2_leave' 'text3_enter' 'text3_leave' etc. It EVENTUALLY ends but then when you try to log out you get the error Object reference not set to an instance of an object.
Any help would be GREATLY appreciated!
How to display the "File(s) saved successfully in the Custom Kendo Upload Template.
Using the template below:
<span class='k-progress'></span>Hi
How do you enable tabbing on all elements in a Kendo Grid. I have set .Navigatable() - but doesn't seem to do anything.
I want the user to tab through the rows, including the page numbers (items per page) and the filter boxes.
thx!@
I'm using Kendo v 2023.2.606 from the Kendo CDN.
In my view I have the following code:
<div class="row row-cols-lg-auto gx-3 gy-2 align-items-baseline mt-2">
<div class="col">
<h4>Choose File</h4>
<!-- upload a file -->
@(Html.Kendo().Upload()
.Name("files")
.Multiple(false)
.ShowFileList(false)
.Async(_ => _
.Save("SubmitFile", "DataImport", new { Area = "Admin" })
.Batch(true)
.AutoUpload(true)
)
.Events(_ => _
.Upload("onUpload")
.Success("onUploadSuccess")
.Error("onUploadFail")
)
.Validation(_ => _
.AllowedExtensions(new string[] { "xls", "xlsx", "csv" })
.MaxFileSize(3145728)
)
)
</div>
</div>
If I select a file with an extension that is not listed, e.g. .zip, or I select a file that is more than 3.14MB all I see is this:
It does not hit my MVC controller action (which is fine) but the only indication of a problem is the (!) icon. The icon is not clickable.
Why is it not displaying a message saying the file is not valid/too big?
Hello,
I'm encountering an issue with the autocomplete functionality in Kendo UI Grid. While the data selected through autocomplete is correctly added to hidden fields, it does not appear in the Grid.
Specifically, after using the autocomplete functionality, I checked whether the correct data was added to the respective hidden fields and found that the values I expected were indeed present in those fields. However, I noticed that these values were not visible in the Grid. This implies that the data selected by users is not being properly reflected within the Grid.
In summary, I am unable to display the data received through the autocomplete functionality within the Grid. I would appreciate any suggestions to resolve this issue.
The code structure related to the problem I mentioned above is as follows.
@(Html.Kendo().Grid(Model.Lines)Thank you in advance for your support.
I had a request to change the filtering of a certain column from "Starts With" to use a multi-select checkbox type filter to facilitate selecting 5-10 random items. Then of course some other users prefer the "Starts With" type of filtering. My solution is to have dual columns for that particular field, one with each filter type.
Since my grids save user preferences in local storage between sessions, the users can hide whichever column has the filtering they don't prefer and just use the other one. When they reload the page, their choice of column persists and their filtering is how they like it.
Darron
Is it possible to extend the Telerik MVC Grid toolbar to include custom commands? I'm looking to add my own functionality to the toolbar, and I'm wondering if there's a way to create a method within the toolbar command factory to generate buttons with specific functionality that I want to apply across all grids in my application.
For example, I have these three methods I have added using the toolbar template.
instead of using the template every time I would like to add custom command like save or excel.
I'm trying to export a grid to Excel, and I have followed the Telerik example:
https://demos.telerik.com/aspnet-mvc/grid/excel-export?autoRun=true&theme=default-main
But what I cannot manage to do is to prevent a call to excel_export_read when clicking the Export to Excel button. In Chrome Devtools I can see that also the official Telerik example calls this method a second time when clicking, but I was under the impression that the component would try to create the excel file client side. Is this not possible?
Here is my code:
@(Html.Kendo().Grid<CampaignSimulationResult>()
.Name("SimulateResult")
.ToolBar(tools => tools.Excel())
.DefaultSettings()
.Columns(column =>
{
column.Bound(m => m.Region).HeaderHtmlAttributes(new { style = "text-align:center" })
.HtmlAttributes(new { style = "text-align: center" });
column.Bound(m => m.ParameterID).Format("{0:##,#}").HtmlAttributes(new { style = "text-align: right" }).HeaderHtmlAttributes(new { style = "text-align:center" });
column.Bound(m => m.Parameter).HtmlAttributes(new { style = "white-space: nowrap;" }).HeaderHtmlAttributes(new { style = "text-align:center" });
}
).Excel(excel => excel
.FileName("Kendo UI Grid Export.xlsx")
.Filterable(true)
)
.DataSource(dataSource => dataSource
.Ajax()
.Read(read => read.Action("ExcelExportRead", "Campaign", new RouteValueDictionary { { "area", "Admin" } }))
)
)