Telerik Forums
Kendo UI for jQuery Forum
14 answers
2.8K+ views
<div class="k-animation-container" style="width: 397px; height: 24px; margin-left: -2px; padding-left: 2px; padding-right: 2px; padding-bottom: 4px; overflow: visible; display: block; position: absolute; top: 276px; z-index: 10002; left: 399px;">
    <div role="tooltip" class="

MY_CLASS_ADD 

k-widget k-tooltip k-tooltip-closable k-popup k-group k-reset k-state-border-down"
data-role="popup" style="display: block; position: absolute; -webkit-transform: translateY(0px);" id="my_id_tooltip_tt_active">
     
        <div class="k-tooltip-button"><a href="#" class="k-icon k-i-close">close</a></div>
        <div class="k-tooltip-content">my message</div>
        <div class="k-callout k-callout-s" style="left: 195px;"></div>
         
    </div>
</div>
how to add a class in the tooltip?
Dimiter Madjarov
Telerik team
 answered on 09 Jan 2017
2 answers
300 views

The date picker dropdown was working correctly until I updated JQuery from version 2.2.3 to 3.1.1.  Now I'm getting this error when clicking on the date picker dropdown icon: 

jquery?v=o2U6t4rMgqClQ3uJM8HbPM_wIXeGzahdJeO9fh-Xrbs1:1 Uncaught TypeError: r.getClientRects is not a function
    at s.fn.init.offset (jquery?v=o2U6t4rMgqClQ3uJM8HbPM_wIXeGzahdJeO9fh-Xrbs1:1)
    at init._position (kendo-js?v=uA5K1yopyLG1t7MMuD-Uelq9fONL8E_b_NOc9fe9Trw1:1)
    at init.open (kendo-js?v=uA5K1yopyLG1t7MMuD-Uelq9fONL8E_b_NOc9fe9Trw1:1)
    at l.open (kendo-js?v=uA5K1yopyLG1t7MMuD-Uelq9fONL8E_b_NOc9fe9Trw1:1)
    at l.toggle (kendo-js?v=uA5K1yopyLG1t7MMuD-Uelq9fONL8E_b_NOc9fe9Trw1:1)
    at init._click (kendo-js?v=uA5K1yopyLG1t7MMuD-Uelq9fONL8E_b_NOc9fe9Trw1:1)
    at HTMLSpanElement.r (jquery?v=o2U6t4rMgqClQ3uJM8HbPM_wIXeGzahdJeO9fh-Xrbs1:1)
    at HTMLSpanElement.dispatch (jquery?v=o2U6t4rMgqClQ3uJM8HbPM_wIXeGzahdJeO9fh-Xrbs1:1)
    at HTMLSpanElement.a.handle (jquery?v=o2U6t4rMgqClQ3uJM8HbPM_wIXeGzahdJeO9fh-Xrbs1:1)

Any help is appreciated.

 

Stephen Lee

 

Dimiter Topalov
Telerik team
 answered on 09 Jan 2017
3 answers
667 views

When downloading the latest version, the src folder has a README with the following message:

 

Starting from the 2016.2 release the source code is distributed as separate packages.

Look for the *.source.zip packages in your account.

 

I have searched high and low for the elusive "*.source.zip" file but have not yet found it. Where can I download Kendo source files?

 

Thanks!

 

Kiril Nikolov
Telerik team
 answered on 09 Jan 2017
7 answers
516 views

Hi, 

We are exploring the charts for MVC. PFA the attached Image one is bubble chart and another is bell curve chart. I am facing problem while adding the text between the bubbles as shown in image.For Second Chart I did not see any example related to this type of chart. 

 

Regards, 

Nitin Jain

Danail Vasilev
Telerik team
 answered on 09 Jan 2017
2 answers
106 views

Hi, 

Im trying to set a remote datasource's data to an array initially, and then execute the read() method later to retrieve its remote data. But for some reason the read() is not executing the remote call, and the subsequent datasource.data() is just returning the initial array.

Dojo Code: http://dojo.telerik.com/INUWe

Please advise.

Kind Regards,
Grant

Grant
Top achievements
Rank 3
Iron
Iron
Iron
 answered on 09 Jan 2017
11 answers
896 views
Hi,
I am having trouble setting the height and width of a sparkline.

Simplified code:
@{
        if (Model.IsTrue) <-- boolean
        {
            var readUrl = Url.Action("Action", "Controller", new { id= Model.ID});
            @(Html.Kendo().Sparkline()
                .Name("sparkline-risk-score")
                .HtmlAttributes(new { style = "width: 500px; height:400px;" })
                .ChartArea(ca => ca.Background(""))
                .DataSource(ds => ds.Read(read => read.Url(readUrl)))
                .Series(series => series.Line("Risk Score").Color("#C0504D"))
            )
        }
    }

Data from controller method:
[0.5570,0.5570,0.5570,0.5570,0.5570,0.5570,0.5570,0.5570,0.5570]

Output:
http://i.imgur.com/VvpU8Vx.png

Hopefully I'm not missing something really obvious.
Thanks!
Per
Top achievements
Rank 1
 answered on 07 Jan 2017
6 answers
704 views

I'm trying to make a kendo grid using sortable and inline editing. I found whenever you make the grid sortable there are some issues that happen with inline editing. Whenever you click on the edit button, you can't click into the input fields to edit. The only way you can edit those fields is if you tab over to them. Also, whenever you change certain inputs they won't save. 

 

I've created a dojo to show my issues: http://dojo.telerik.com/uYidA

 

Just click edit on any row and see that you can't click into the inputs. Also, click edit and try to change one of the inputs and see that it doesn't save correctly.

 

Thanks in advance!

Ken
Top achievements
Rank 1
 answered on 06 Jan 2017
1 answer
493 views

Hi

 

We are now using Telerik Kendo UI Professional and developing mobile site and would like to find out whether I can include CAMERA CONTROL for users to take pictures and upload.

Please send some sample code for us to refer OR send site-link to study.

Thanks in advance

Regards

Rajan

 

 

Alex Hajigeorgieva
Telerik team
 answered on 06 Jan 2017
2 answers
258 views

Hi.

I have a tooltip with a list of checkbox to control a visibility of grid columns.

I change de position of a tooltipo on show by a fixed position.

 

Its work fine with columns where rows had one line, but when a row have more than one line the grid resize his height and change de position of a tooltip.

When this occurs tooltip go outside a viewport, but keep open.

 

How can I prevent this change of position of a tooltip.

Dimiter Topalov
Telerik team
 answered on 06 Jan 2017
7 answers
626 views

Im trying to create a dropdown list where I can add new items. However - the function inside the noDataFound template needs to be an AngularJS function. Is there any way to do this? Code is below:

<select id="layout"
kendo-drop-down-list
style="width: 230px; font-size:10pt !important;"
k-ng-model="selectedLayout"
k-options="layoutOptions"
k-on-select="changeLayout(true)">
</select>

$scope.layoutOptions = {
dataSource: $scope.layouts,
dataTextField: "description",
dataValueField: "id",
filter: "contains",
valueTemplate: '<span class="selected-value"><img data-ng-src="{{dataItem.image}}") width="20px" height="20px"></span><span>&nbsp;&nbsp;{{dataItem.description}}</span>',
template: '<span class="k-state-default"><img data-ng-src="{{dataItem.image}}") width="40px" height="40px"></span><span>&nbsp;&nbsp;{{dataItem.description}}</span>',
noDataTemplate:
//$("#noDataTemplate").html()
'<div>' +
'Save Custom Template - "#: instance.filterInput.val() #" ?' +
'</div>' +
'<br/>' +
'<button class="k-button" onclick="addNew("#: instance.filterInput.val() #")">Save</button>'
};

 

Thanks!!

Marc
Top achievements
Rank 1
 answered on 06 Jan 2017
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?