Is there a limitation or maximum number of records that can be returned to the excel export functionality of the Kendo Grid?
Sometimes I get a Network error in the browser but investigating this leads to nothing specific about the Kendo platform.
Ive set AllPages = true and there are aboyt 30000 records to return via web odat api controllers in an asp.net web app.
Cheers
Michael
There are no Kendo UI - specific limitations, but there are limitations related to data serialization and browser memory.
Setting AllPages to true will make the Kendo UI DataSource request all items in a single request. Make sure your server implementation is able to serialize them, and the web server is able to send them.
http://docs.telerik.com/kendo-ui/controls/data-management/grid/excel-export#excel-export-of-all-data
Related
I use ServerOperation(true) on my Kendo Grid DataSource to perform server side paging/sorting. I have some columns declared with the Filterable method, which causes server side requests to populate the type ahead. I would like these Filterable columns to just work client side with whatever data is available on the current page. Is there a way to configure this?
I use toODataString on the grid's State object on the front end, which queries my OData v4 ASP.NET Web Service running on IIS (server side).
I have a kendo data grid which is bind with ASP.NET ajax binding.
When ever I press grid refresh icon, or do a sort or filtering it will update the grid with current values from database.
But I want it get updated automatically when the database get updated or in other words (when the related datasource updated, but I don't know how to trigger that change in datasource).
Also, I don't want to have a timer and refresh the grid based on some time intervals, I just want it get updated when the related data changed.
Thanks in advance!
The grid will update automatically when the underlying dataSource is updated.
The problem is updating the underlying dataSource without any client-side action to trigger a re-read from the server.
Since this is the web, the dataSource is not directly connected to the server and any changes on the server will not be reflected in the dataSource as the server has no access to the client-side dataSource.
So, you need to use an additional technology/technique that provides this type of connection.
Take a look at Kendo's SignalR integration demo to see if it serves your needs.
http://demos.telerik.com/aspnet-mvc/grid/signalr
Otherwise, you can research "long polling" and/or websockets to see if they meets your needs better.
One of my clients report slow loading of their landing page. They use ASP.NET MVC with Kendo UI. I did a quick check and noticed that the kendo.all.min.js is about 1.8MB and client says this is required. I am sure they do not use all of the kendo UI elements in the landing page. I have never used Keno before but only JQuery. Is there a way to minimize the kendo script file size further by not including everything and choose only the elements that are required and form the final JS (like cherry picking in JQuery?).
Thanks!
There's a tool for creating custom downloads at http://www.telerik.com/download/custom-download with an overview of picking what you need here
I am just trying to use keno ui into my project. But Kendo is new to me. So I am not sure how to proper use it. Some of the widgets like dialog window, datepicker, timepicker etc. are easy to use but I am having problem with datagird. Could anybody let me know how can we use datagrid widget server databound and xml as datatype. Please give me little bit give me an example. If possible. Let me know how xml file will look. How can we get page number, number of rows on the server side. I am using asp.net with c# as server side language.
Is there a reason why you want to bind to an xml file? Generally speaking you should be using JSON for the dataSource. For an example of using an xml datasource have you looked at this:
Binding to xml DataSource
If you haven't used these before and have access to the MVC Wrappers then I would suggest looking at this demo as a good starting place for the Grid:
Kendo Grid bound to local data
Kendo Grid bound to remote data
If you use the demo from the first example and apply it to the "local data" example this should get you going. If you get stuck please provide some code showing what you have tried and any issues you are faced with.
I have a custom server control that loads data from a web service into a GridView. Works fine on my page. I want to be able to click on a row and pop a popupcontrol with more detail on the clicked row. I am using the client side events of the DevExpress gridview to handle the onclick. And from JavaScript I am calling a callbackpanel to access my custom server control to get properties to use in the popupcontrol. In the callback, the properties on my server control (which were previously set in order to display the data) are not set, yet any of the other standard controls on the page still have their property settings. Am I missing a setting in my customer server control that will persist my property settings into a callback?
There are a few methods for persisting values through a postback. The method you pick will depend on your exact situation, which you didn't elaborate enough. Personally, I think it sounds like a good place for AJAX...
Here's a great article with some options:
http://msdn.microsoft.com/en-us/magazine/cc300437.aspx
I've had very similar issues. The problem seemed to resolved by tweaking the timing of when the Data is bound.