Telerik Forums
Kendo UI for jQuery Forum
2 answers
260 views
I am new to Kendo UI and would like to try to use it to build my first mobile app. I found this article: http://www.kendoui.com/blogs/teamblog/posts/12-08-15/rocking_kendo_ui_in_visual_studio_2012_and_windows_8.aspx but it seems to be more about Kendo UI Web rather than mobile. How does mobile development work? What project type do I start with in Visual Studio? Does Kendo provide some sort of phone emulator? Do the apps just run in your browser window? Are there ways to test/support multiple screen sizes? Does Kendo UI Mobile support intellisense in Visual Studio? 

Really exciting to begin using this and if it works out as planned I will definately be purchasing a license. Thanks so much!
Sebastian
Telerik team
 answered on 16 Apr 2013
4 answers
111 views
Dear Kendo Team,
I've created detail row grid with specific css (see below).
This works properly on Chrome, Firefox, but on IE10, only the second lines are taken the right css style....(see file attached)
Could you provide us a solution for this issue?
Thanks in advance
Kind regards.
.k-grid table tr:hover
{
    background: #ffb76b; /* Old browsers */
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmYjc2YiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZmE3M2QiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjZmY3YzAwIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2ZmN2YwNCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
    background: -moz-linear-gradient(top, #ffb76b 0%, #ffa73d 100%, #ff7c00 100%, #ff7f04 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffb76b), color-stop(100%,#ffa73d), color-stop(100%,#ff7c00), color-stop(100%,#ff7f04)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #ffb76b 0%,#ffa73d 100%,#ff7c00 100%,#ff7f04 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #ffb76b 0%,#ffa73d 100%,#ff7c00 100%,#ff7f04 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #ffb76b 0%,#ffa73d 100%,#ff7c00 100%,#ff7f04 100%); /* IE10+ */
    background: linear-gradient(to bottom, #ffb76b 0%,#ffa73d 100%,#ff7c00 100%,#ff7f04 100%); /* W3C */
     cursor:pointer;
}

HUA
Top achievements
Rank 1
 answered on 16 Apr 2013
1 answer
120 views
Is there a way to maintain the pending changes on the grid when using ServerPaging, ServerGrouping, ServerFiltering, ServerSorting and ServerAggregates?  We're losing all pending changes whenever a filter is applied, page is changed, column sorted, etc.  Should these changes be preserved by default or is there something we can do to preserve them?  At a minimum, is there something we can do to detect these actions and prompt the user to commit the changes before filtering, paging, etc?
Alexander Valchev
Telerik team
 answered on 16 Apr 2013
3 answers
143 views
We have just updated to Kendo Mobile build 2013.1.319, and we are very glad to see the TypeScript definition file there.

However, it appears to be incorrect. The definition for the kendo.mobile.Application class constructor reads as:

    class Application extends Observable {
        constructor(options?: ApplicationOptions);

but the constructor actually takes two parameters. And should read something like:

    class Application extends Observable {
        constructor(element: any, options?: ApplicationOptions);

At least according to any documentation or example I can find.

Do you have a running Kendo Mobile example in TypeScript?

Thanks,
David Sykes
Atanas Korchev
Telerik team
 answered on 16 Apr 2013
3 answers
104 views
kendo.ns should be defined as:
public ns: string;

See http://docs.kendoui.com/howto/declarative_initialization at the bottom.

Until this is fixed ns must be set thus:
(<any>kendo).ns = "kendo-";

Atanas Korchev
Telerik team
 answered on 16 Apr 2013
3 answers
497 views
Hi;

I'm adding a custom tool ("save") to my editor. The tool works great but it looks lousy ( ^_^ ). The out of the box tool set icons are in a single .png file and I'm not familiar with how the individual icons are accessed.

Any tips on creating/adding icons for custom tools?

EDIT:

Nevermind. I implemented "Save" outside the editor.
Dimo
Telerik team
 answered on 16 Apr 2013
1 answer
161 views
I can't seem to get list bullets to display in the treeview. I've even tried using !important and disabling the list-style rules that set the type to none using firebug.  How can I achieve displaying bullets next to items? I wrote my rule so that they only display at a certain depth. My view is a maximum of 3 levels deep and I want the bullets on the 3rd level li's.
Dimiter Madjarov
Telerik team
 answered on 16 Apr 2013
2 answers
86 views
With 411...

If the view's property "wrap" is set to false, and the view has a list of root elements, and the view contains white space between elements on the root level, calling layout.showIn will throw an exception.
// no problems
layout.showIn("#content", new kendo.View("<div>hey ho</div><div>hey ho</div>", { wrap: false }));
// exception
layout.showIn("#content", new kendo.View("<div>hey ho</div> <div>hey ho</div>", { wrap: false }));
The exception is thrown in kendo.bind as follows.
Uncaught TypeError: Object #<Text> has no method 'getAttribute'
Michael G. Schneider
mgs
Top achievements
Rank 1
 answered on 16 Apr 2013
15 answers
907 views
Hi, After updating to .2013.1.319. I been having an internal js error on kendo.web.js. It seems that when I append a "new_node" into the tree view and try to a "child" to the new node using 

treeView.data('kendoTreeView').append(child, new_node), it cannot find the dataItem of the "new_node" in the tree view.

This occurs in kendo.web.(min).js at the "_dataSourceMove: function". 
The line  "referenceDataItem = destTreeview.dataItem(parentNode);" seems to give me null and thus when executing "referenceDataItem.loaded()", it will fail.

When I replaced the kendo.web.js to an older commerical version, it seems to work fine. Could I get a little insight into this? Is there new requirements that I need to add into the "new_node" so that it produces a dataItem?

Thanks in advance

Alex Gyoshev
Telerik team
 answered on 16 Apr 2013
2 answers
33 views
Hello,

we are in the process of updating our app to the new Kendo Mobile build 2013.1.319 and using the provided kendo.mobile.d.ts TypeScript definition file.

It appears that the definition of kendo.mobile.ui.ViewBeforeShowEvent is missing the definition of the preventDefault() and the isDefaultPrevented() methods.

I have added them myself, but would obviously appreciate them being added into the released file so I don't have to do it myself again with the next update.

Thanks,
David Sykes
David
Top achievements
Rank 1
 answered on 15 Apr 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?