I am trying to use Kendo ui angular grid (in cell editing), but I want to know if there is a way to handle error from server side that occurs when editing data?
Related
Ok so lemme explain first for those who are not familiar
Rule number for using Telerik's Kendo UI is to reference the following in this order Jquery.min.js>Angular.min.js>Kendo.all.min.js
Here is the pseudo-code of my web application
in my parent.html:
-reference for jquery
-reference for angular
-reference for kendo
-ui-view container
this is my ui-view(child.html)
-initialize kendo grid
What happened is that the kendo widget was not rendered
Then I looked at the console of the browser and there was something like
"Jquery should be initialized first before angular when using Kendo-UI widgets"
I tried removing the ui-view and and just yolo-pasted the contents of the child.html and the grid widget successfully rendered
But when I use angular-ui-routing, the error appears again saying I should reference jquery first before referencing angular when using kendo widgets
You can only load jQuery once. I had a similar problem where I was calling it once from a shared view and once inside the main view. You have child views? My solution was to push the loading of the Javascript from the shared view to the main view, and also called them inside of the kendo tabStrips, because apparently those were sandboxed enough not to affect the main view. The second loading of jQuery is what's crushing the kendo rendering; figuring out the workaround depends on the relationships between the views.
I've been using kendo for quite some time but there is a issue that I'm facing using kendo filter in kendo list view. I am developing a SPA using kendo UI. In one of the views I've implemented kendo filter using http://demos.telerik.com/kendo-ui/mobile-listview/filtering link. The filter works fine on writing any input but when I re navigate to that view again it displays two filters. What can be the issue. Thanks
To solve this, make sure you render the kendo mobile listView only once. If not, kendoMobileListView() will add another input each time you'll use
$("#list").kendoMobileListView() .
If you have to render the listView on pageShow event, make sure you remove additionnal filter inputs with:
$("#your-view form:not(:first)").remove();
Hope it helps
I am using Kendo UI ASP.Net MVC framework and I have a kendo grid one of our pages. I am able do client side validation when the grid is in edit mode(using in-line editing). Any error messages are displayed next to the field, it is possible to get all these errors and display them as a list when the Update button is clicked on the row.
No, such validation summary is not supported, however you can customize where the messages are shown like explained here.
I'm trying the Kendo Ui framework. I'm working on a treeview.
I need to know if there is an event that is raised when it is finished loading the complete treeview. I'm using a call json.
Loading it or rendering it? It is similar but not the same, first you need to load the data and only then it starts rendering the loaded items.
For loading you might use dataBound in the TreeView
To my understanding ASP.net MVC validation Summery does not work in Kendo ui grid popup windows.
Is there a way I can achieve this, so that I can display validation errors on popup windows similarly I show them on other views.
Or can I invalidate ASP.net validator conditionally from kendo validator.
Please reply me if there is a better way
Thank you.