Hi,
I've used the Toolbar's Export to Excel functionality. I have about 19,000 records which takes significant time to download. The user waits for some time and nothing happens so they clicks again. I would like to show a busy indicator to the user that the export is in process and will soon download.
I am thinking to use exportExcel client API. How do I proceed from here? A code snippet would help.
Thanks!
Currently trying to use either of these examples
https://demos.telerik.com/aspnet-mvc/editor/all-tools or https://demos.telerik.com/aspnet-mvc/editor/import-export
in a project created using the Telerik UI new project setup. When I try to build I get an error
CS0234 The type or namespace name 'Export' does not exist in the namespace 'Kendo.Mvc' (are you missing an assembly reference?)
Referencing -> using Kendo.Mvc.Export;
I have looked for Kendo.Mvc.Export and am not able to find it.
Is the example outdated? What am I missing?
Hi All,
Just wondering on how to add a custom drop down the will do action (Item Command) for selected (checked) rows on my Kendo Grid?
Trying to mimic ServiceNow Grid, wanted to know if Kendo is capable as well.
Please see attach pic for reference.
Thanks in advance,
Ryan
As you an see in my view below, I am trying to read the selected values in the change event of my MultiColumnComboBox.
The box is populating fine with about 300 records from a JsonResult from the controller. Here are the problems I'm needing help with:
1) Getting/Reading the data value and data text of the selected item in the list. combo.item shows as undefined when I put a breakpoint on it in the browser.
2) I'd like to know how to get/read the text of the third column that isn't either the DataValue or DataText of the selected item, Title in this case.
3) When I click on the an item when the list is dropped down, I have to click a second time for it to collapse. In the demos, they collapse as soon as I click on an item.
------------------------------------------------------
@{
ViewBag.Title = "Index";
}
<h2>Bond Maturities</h2>
@(Html.Kendo().MultiColumnComboBox()
.Name("bonds")
.Placeholder("Select a bond")
.DataTextField("IssueAbbreviation")
.DataValueField("BondId")
.Columns(columns =>
{
columns.Add().Field("IssueAbbreviation").Title("Issue");
columns.Add().Field("Title");
columns.Add().Field("BondId").Title("ID");
})
.HtmlAttributes(new { style = "width:100%;" })
.Filter(FilterType.Contains)
//.AutoBind(false) <-- Prevents list from loading until something typed in to trigger filter.
.MinLength(3)
.DataSource(source => {
source.Read(read =>
{
read.Action("GetBondTitleList", "Bond");
})
//.ServerFiltering(true)
;
})
.Events(e => { e.Change("onChange"); })
)
<div class="box">
<h4>Console log</h4>
<div id="console"></div>
</div>
<script>
function onChange(e) {
$("#console").html("event: change");
//var numeric = $("#age").data("kendoNumericTextBox");
//numeric.value(10);
var combo = $("#bonds").data("kendoMultiColumnComboBox");
var dataItem = dataItem(combo.item.index()); //dataItem
$("#console").html("Changed to " + dataItem.Value);
//var dataItem = dataItem(combo.item.index());
alert("ID: " + dataItem.Value + "; Title: " + dataItem[2] );
}
</script>
Near the bottom of this page https://demos.telerik.com/aspnet-mvc/grid/signalr?_ga=2.204361685.412210995.1583345536-858673893.1582302583 i
it says the following:
You can find more information in this article: Binding Grid widget to SignalR Hub.
However when I click on the link I get a 404. Any idea what happened to the article?
I have a 10 year old ASP.Net MVC 3 application that was originally built using Telerik ASP.Net MVC 3. I am now trying to upgrade the website to MVC 5, and I believe I have the standard ASP.Net components upgraded, but I am really stuck with the Telerik components. If I try to run the MVC 5 application with the Telerik MVC 3 components, I get this TypeLoadException. I made an attempt to upgrade to Telerick MVC 5, but it seems like all of the classes have changed, and as you can imagine, an application that has been in active development for 10 years has a lot of code, and I do not think I can just go and re-write it all to use completely different types for the controls. What kind of upgrade path can you recommend to get this application to run on MVC 5? If there is a way to just overcome this TypeLoadException with the Telerik MVC 3 components or to upgrade to Telerik MVC 5 without having to rewrite the entire application, that would be great. Thank you.
System.TypeLoadException: Inheritance security rules violated by type: 'Telerik.Web.Mvc.PopulateSiteMapAttribute'. Derived types must either match the security accessibility of the base type or be less accessible.
Hi, this may be a dummy question but I tried to use the .Data("forgerytoken") I got from the Grid examples but this obviously change the data adding a complex structure, I would like to keep the text property I got without the .Data
Thanks in advance.