Telerik Forums
Kendo UI for jQuery Forum
3 answers
1.7K+ views
I am working on a backbone based single page application and having trouble with the tooltips. I figured using the "filter" option would be the best method so I currently have something like 
$('body').kendoTooltip({
    filter : ".tooltip"
});
$('body').kendoTooltip({
    filter : ".bookmark",
    content : "bookmark"
});
I'm not sure but it seems as though all the tooltips break after a a new view is loaded even though the body is not changed, only some parts inside it.

Also I notice that when I look out $('body').data() there only seems to be whatever the last tooltip I bound so in the above instance I see options.filter : ".bookmark" but not ".tooltip". 

Maybe I'm missing something obvious but all help is appreciated

Thanks
Sankar
Top achievements
Rank 1
 answered on 07 Nov 2013
3 answers
170 views
Hello,
I created two examples. The first works, but needs one extra template. Is it possible to build without additional templates?

working: http://jsfiddle.net/NLN6Z/1/
notworking: http://jsfiddle.net/g9s33/1/

Thank

PS
I was unable to create links without giving me erased already written text and cant login to account in chrome.
Alexander Valchev
Telerik team
 answered on 07 Nov 2013
2 answers
126 views
I create a current event, let's say it's 3 days long.
I edit the middle occurrence.
The calendar now displays ONLY the middle event that I just edited.  The other event is still listed in the datasource, but it no longer shows up on the calendar.  Why?





Clint
Top achievements
Rank 1
 answered on 07 Nov 2013
1 answer
205 views
I've run into an odd issue with the latest version of Kendo UI for MVC (2013.2.918.340) where grids with virtual scrolling will intermittently crash Chrome if the data is re-requested.

Example jsfiddle below based on one of the Kendo demos:

http://jsfiddle.net/M6rKC/2/

Opening this page immediately locks up (and then crashes a few minutes later) Chrome 30.0.1599.101 for me.

The second call to grid._dataSource() is what kills it. This is not precisely what I'm doing in my real application -- instead I have a "Search" button that calls grid.dataSource.read(). You can see in my jsfiddle code that I have this as well, but for some reason this will only crash if the first set of data retrieved from the server (when the grid auto binds) is empty, but the second set (after clicking on Search) is not. Since the demo data URL is not empty I couldn't reproduce this exactly, but the second call to _dataSource() in the jsfiddle causes what appears to be the exact same bug.

I looked at the timeline in Chrome's dev tools and noticed the memory usage spikes from 10MB to 680MB when the XHR completes:

http://i.imgur.com/OU8h6uT.jpg

Shortly after that the memory usage drops again and Chrome becomes unresponsive.

Any ideas what might be causing this? I should mention that none of this happens if virtual scrolling is disabled -- the search button works fine in that case. Is this a known issue or am I doing something wrong?

Thanks!


Vladimir Iliev
Telerik team
 answered on 07 Nov 2013
1 answer
78 views
If you set the application wide useNativeScrolling:true then it breaks the app if you have any ListViews like below with pull to refresh enabled
<ul data-role="listview" data-source="app.dataSourceGetUsers" data-pull-to-refresh="true"  data-auto-bind="false"
data-template="userItem" class="viewList">
    </ul>

This will generate this error and stop the app from processing any more 
Uncaught TypeError: Cannot call method 'setOptions' of null
Steve
Telerik team
 answered on 07 Nov 2013
1 answer
88 views
I noticed that my app shows only the first 5 tabstrip items in a Kendo Mobile UI app when the app is in portrait. Turning the phone makes the app show my 6th item on the tabstrip.

Is there a way to show smaller items in portrait mode or is there a preferred way to have a tabstrip item called 'more' that when clicked shows a popup with additional tabstrip items?

I have not been able to find such a thing on the Kendo site.
Steve
Telerik team
 answered on 07 Nov 2013
2 answers
156 views

Hi,

I am unsing Kendo with MVC 5. I am binding my Grid over Ajax. Reading works fine, but the controller method is never called. (see project attached)

thanks

[AcceptVerbs(HttpVerbs.Post)]
public ActionResult Customer_Update([DataSourceRequest] DataSourceRequest request, CustomerViewModel customer)
{
if(customer != null && ModelState.IsValid)
{

}
return Json(new[] { customer }.ToDataSourceResult(request, ModelState));


@(Html.Kendo().Grid<Rainbow.ViewModels.CustomerViewModel>()
    .Name("CustomersGrid")
    .Events(events => events.DataBound("onDataBound").DataBinding("onDataBinding").DetailInit("onDetailInit"))
    .Columns(c =>
    {
        c.Bound(i => i.Number).Title("Number");
        c.Bound(i => i.CompanyName).Title("Name");
        c.Command(command => command.Edit());
    })
    .Editable(editable => editable.Mode(GridEditMode.InLine))
        .DataSource(d => d.Ajax()
            .Events(events => events.Error("error_handler"))
            .Model(model => model.Id(c => c.Id))
            .Read(r => r.Action("CustomersGridData", "Customer"))
            .Update(r => r.Action("Customer_Update", "Customer")))        
    .Sortable()
    .Filterable()
    .Pageable())



25 Oct (Link to this post)

Hi,

I am unsing Kendo with MVC 5. I am binding my Grid over Ajax ( see attached project and code below). I receive the Date for the LastModified column 
with the Json result but the date is not displayed. 
I have already made another project with kendo with a similar setup and everything worked perfectly

25 Oct (Link to this post)

Hi,

I am unsing Kendo with MVC 5. I am binding my Grid over Ajax ( see attached project and code below). I receive the Date for the LastModified column 
with the Json result but the date is not displayed. 
I have already made another project with kendo with a similar setup and everything worked perfectly
Martin Ennemoser
Top achievements
Rank 1
 answered on 07 Nov 2013
1 answer
396 views
Hello, 
I have a datasource that is an javascript array(from json), and I attach him to my grid, until now everything is OK, I see my data on the grid :), 
but I want that every time that my datasource is changed(the array that I am attached to) will automatically update my grid, like auto bind,
for example, if I change value in a row in my javascript array, I want to see the change immediately in my grid , or if I add new row to my array, I want to see the change occur right away.
how can i achieve that?
Thanks, almog
Dimiter Madjarov
Telerik team
 answered on 07 Nov 2013
2 answers
293 views
Hi,

We have plans to migrate from ASP.NET Scheduler to KENDO UI MVC Scheduler and we are investigating if there are anything that's missing for this to work.

I cannot find the function to parse a rule in c# Kendo UI.

I need to iterate through the rules occurances to do some business logic.

I am also looking to change the rendering behaviour of the scheduler like done in this post
http://www.telerik.com/community/forums/aspnet-ajax/scheduler/oder-of-entry-in-scheduler.aspx#1155620
Is there a way to do this in Kendo UI?
Chris
Top achievements
Rank 2
 answered on 07 Nov 2013
1 answer
86 views
Hi all. I have an image on a view which i want to use as a 'back' button. Setting [data-role="backbutton"] gives me the right functionality but it crops the image up into the shape of the back button.

I have several views linking to this view, so I can't use the href option to link to the previous view.

Is there a way I can get the functionality of the back button without [data-role="backbutton"]?

Thanks!
Kiril Nikolov
Telerik team
 answered on 07 Nov 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?