Telerik Forums
Kendo UI for jQuery Forum
1 answer
190 views
I'm wanting to have a flow to my conference registration where I ask a question in the first dialog:

Are you a a)speaker b)presenter c)sponsor

if they say speaker they go to a special page before going to the normal registration.

etc,etc,etc.

How would I implement something like this in KendoUI.  My backend is asp.net MVC4 webapi, not that it matters.

Thanks
Devon
Top achievements
Rank 1
 answered on 18 Mar 2013
3 answers
117 views
The TypeScript definitions for TreeView should be checked. Some seem to be wrong. For example...

  • The parameter's datatype of "collapse" is not string.
  • The parameter's datatype of "expand" is not string,
  • The return datatype of "dataItem" is not void.
Michael G. Schneider
Alex Gyoshev
Telerik team
 answered on 18 Mar 2013
3 answers
149 views
I just updated to 2012.3.1114 and all of my Grid code that uses selectable: "row" and a change: function do not work??

I click a row or cell in the Grid and nothing happens - no event is fired.

The on-line demo for Grid selection does not use a change function so hard to tell if something has changed?

This is a big issue for me .. please can you tell me if this is a bug or has something changed with row selection / change ?

UPDATE:

This appears to be a CHROME issue on Windows 8.  Running the same code in IE10 works....
Nikolay Rusev
Telerik team
 answered on 18 Mar 2013
1 answer
75 views
I was asked this question by coworkers, and wanted to check my thoughts with you all, and ask if you have any others.

One obvious answer is that if we're using Kendo UI components frequently, this has the advantage of making our own both consistent and familiar.

I think the most important answer, though, is that by doing so we'll have access to all the framework features of the kendo components, which your site lists as: "Datasource, Templates, MVVM, Effects, Drag and Drop, Validator, Globalization, Styling, Integration." Are all of those Kendo features in fact available to custom widgets that have extended kendo.ui.widget?

Any other thoughts about a good response/justification to the question?

Thanks in advance,

Jon
Petyo
Telerik team
 answered on 18 Mar 2013
17 answers
292 views
As I find Kendo UI extremely well fitted for me and I love many things about it I have crucial concerns about the following things:

During my trial process I have confronted a series of road blocks. I would like to see what solutions there might be. Please let me know if they have a solution or if I should consider another html5 framework instead. I have been trying to accelerate the speed of transitions between views (screens). How can that be managed? I would like to make the time (delay) of the transitions a bit shorter (faster) and test with different types of transition effects.

Also, I have noticed the response of the touch in rows or buttons is not the way native apps behaves. They have a bit of a delay when you touch something. Native apps will react to the on Release event after a touch and then, after a short delay, do the action. How can that be done with Kendo UI? 

Is there a way of creating charts in mobile Kendo UI? Can you provide some example URLs?
 
Can I make a web URL display inside the mobile web app while keeping the navigation and tab bar? Can I see a PDF file hosted in a URL within the same mobile web app with the navigation bar on top?
 
I have also noticed that using the Google maps API makes the tiles act weird and this only happens with Kendo UI as far as I know. Check out the video included.
Petyo
Telerik team
 answered on 18 Mar 2013
1 answer
54 views
I want to change the grid initialization from javascript to use mostly data attributes

In my js I have the following:
filterable: {
 name: "FilterMenu",
 extra: true,
 messages: {
  isTrue: "On",
  isFalse: "Off"
  }
},
How do I move it to a data attribute?

I have the following now but how do I fill in the messages part?
data-filterable='{
        "name" : "FilterMenu",
        "extra" : "true",
        "messages" : "{
        }"
    }'

Thanks!
Alexander Valchev
Telerik team
 answered on 18 Mar 2013
1 answer
87 views
Hello,

The documentation on the web site is very simple; do you have any documentation on using multiple templated views, and how you would link the views together, and route to them effectively?

Thanks.
Petyo
Telerik team
 answered on 18 Mar 2013
10 answers
373 views
Hi I'm new to kendo and can't get the dragstart function to work.

I keep getting this error when trying to use the dragstart function
"ReferenceError: treeview is not defined", If I do define "treeview"
I get the error, "TypeError: treeview.data is not a function".

this is the function i used:
treeview.data("kendoTreeView").bind("dragstart", function (e) {
    if ($(e.sourceNode).parentsUntil(".k-treeview", ".k-item").length == 0)
    {
       e.preventDefault();
    }
});
This is how I implemented the treeView
<div id="treeView">
   @(Html.Kendo().TreeView()
     .Name( "treeview" )
     .DragAndDrop( true )
     .DataTextField( "Title" )
     .LoadOnDemand( true )
     .DataSource( datasource => datasource
       .Read( read => read
         .Action( "PageList", "Home" )
       )
     )
     .Events( events => events
       .DragStart( "dragstart" )
       )
     )
</div>
and this is my controller code:
public class HomeController : Controller
{
  public ActionResult Index()
  {
    var pageList = BusinessLogic.Page.PageInfoList.Get();
      return View( "Index", pageList );
  }
 
  public JsonResult PageList( int? id )
  {
    var pageInfoList = PageInfoList.Get();
    var pageList = from e in pageInfoList
           where
            (
             id.HasValue ? e.ParentPageId == id : e.ParentPageId == null
            )
             select new
             {
              id = e.Id,
              Title = e.Title,
              hasChildren = (pageInfoList.Any
                    ( p => p.ParentPageId == e.Id ))
             };
 
             return Json( pageList, JsonRequestBehavior.AllowGet );
  }
}

Any help would be much appreciated.

I also need help to bind the items that i drag and drop to the new position.
Vladimir Iliev
Telerik team
 answered on 18 Mar 2013
1 answer
205 views
Hi!

Given this code:
var rightpane = $("#rightPane").data("kendoMobilePane");
rightpane.navigate("#start", "fade");

How do I disable transition? Because default is slide:left yes? I want no transition.

In this post:
http://www.kendoui.com/forums/mobile/application/cosmetic-scrolling-problem-during-view-transitions-ios.aspx#Ou2dAxlhfUuErfuR-LvfcQ
Petyo writes "If this is a critical issue for your application, you may consider disabling the transition for the view in question"

How is it done? Thank you
Alexander Valchev
Telerik team
 answered on 18 Mar 2013
3 answers
586 views
Coming from a jQuery Mobile world when you altered a listview you had to refresh the listview to get things to work. Is there anything I have to do to get dynamically created checkboxes to become selectable? The checkboxes demo works fine but when I try and generate them dynamically they won't allow selected/checked. Below is the sample template I'm trying to use which is simple enough. Thanks for your help.

<script id="position-template" type="text/x-kendo-template">
<li>
    <label>
        <input type="checkbox" value="#= Id #" />
        #= Title #
    </label>
</li>
</script>
Martin
Top achievements
Rank 1
 answered on 18 Mar 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?