I do have a Kendo UI Mobile app which I created with the VS Icenium extension. My question is if it is possible to open remote pdf documents with the native pdf viewer which is installed on a mobile device.
Currently, I'm using this code in order to open a document:
< ... >
if (device.platform === "Android") {
window.open(data.uri, '_blank');
}
else {
window.open(data.uri, '_system');
}
< ... >
This opens the browser and downloads the file, which is retrieved from a wep.api .NET MVC webservice. On iOS it works quite well. But on Android it opens the browser and starts the file download in the background and the document is not opened in the browser. It is necessary to pull down the message center in order to open the file.
But like I said, it would be great if I could check if a pdf viewer is installed on iOS / Android and ask the user to open the document with it otherwise opening the file in the browser using the code from above.
Additional, I don't know how to pass the autherize accesstoken which I'm using to secure my MVC webservice. Personally, I don't like the idea to pass the accesstoken in the querystring parameter. Is there a better way something like using ajax?
Searching the internet the only option I was able to find was pdf.js (which I wasn't able to implement into my app).
I'm an absolute beginner with HTML5, jquery, Kendo UI Mobile etc. and it would be great if you guys could give me your help!
I would like to know how to config tooltip message when mouse is over an event in day, week and month views.
Also how I could show tooltip message in editor event template when validating dates like in demo.
Currently on my scheduler I can see tooltip but without message, only it shows exclamation icon. Additionally as I show a dropdownlist with resources the tooltip is displayed below this dropdownlist and I can't see the tooltip.
When moving items between grids, if i bring back item that has been previously removed it is not working. However, if i set the _destroyed to null it is working but later a null exception is thrown. Is there a more intelligent way of handling this situation.
For a large data, i use a model with a little fields for display. In case, customer click one row in grid and choose update button the edit popup will show up. In this popup dialog, i want to use another model with full fields (from database) to change information but i dont know how and where to swith to new model for edit popup.
we are using the declarative way to create the view. I found a problem that the data binding is not working on the grid when I want to use the server grouping on the underlying data set. When we are using client-side grouping, it works without problem.
It looks like that when I am using server side grouping, data-binding crashes with an error, that the method get (which is normally on an ObservableObject instance) is not defined on the "items" element of the group (download the example and run it).
I am sending simple example. In this example there are two datasets. One that represents the server-side grouped data and the second that is used for client-side grouping (is commented out but you can uncomment it and verify that it works fine).
The example is using kendo.all.js file but I removed that file because of licence. If You would like to try it out, please, add there this script (should be no problem).
I am trying to add a totals row to my grid, and I've boiled my problem down to a very simple jsfiddle:
http://jsfiddle.net/2efYE/20/
Note that there is an "Uncaught ReferenceError: sum is not defined" error.
If you replace "sum" in the footerTemplate with a static value (e.g. "100") then it works fine. I must be missing something very basic, but after spending a lot of time staring at the grid aggregates demo and experimenting, I still can't seem to figure it out. Maybe something unique to MVVM? Maybe you can't do aggregates without also grouping (although I tried it with groups, too)?