Telerik Forums
Kendo UI for jQuery Forum
14 answers
3.0K+ 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
345 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
742 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
570 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
138 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
1.0K+ 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
793 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
544 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
295 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
674 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
Grid
General Discussions
Charts
Data Source
Scheduler
DropDownList
TreeView
MVVM
Editor
Window
DatePicker
Spreadsheet
Upload
ListView (Mobile)
ComboBox
TabStrip
MultiSelect
AutoComplete
ListView
Menu
Templates
Gantt
Validation
TreeList
Diagram
NumericTextBox
Splitter
PanelBar
Application
Map
Drag and Drop
ToolTip
Calendar
PivotGrid
ScrollView (Mobile)
Toolbar
TabStrip (Mobile)
Slider
Button (Mobile)
Filter
SPA
Drawing API
Drawer (Mobile)
Globalization
LinearGauge
Sortable
ModalView
Hierarchical Data Source
Button
FileManager
MaskedTextBox
View
Form
NavBar
Notification
Switch (Mobile)
SplitView
ListBox
DropDownTree
PDFViewer
Sparkline
ActionSheet
TileLayout
PopOver (Mobile)
TreeMap
ButtonGroup
ColorPicker
Pager
Styling
Chat
MultiColumnComboBox
Dialog
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Accessibility
Effects
PivotGridV2
Licensing
ScrollView
Switch
TextArea
BulletChart
QRCode
ResponsivePanel
Wizard
CheckBoxGroup
Localization
Barcode
Breadcrumb
Collapsible
MultiViewCalendar
Touch
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
TaskBoard
Popover
DockManager
TimePicker
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
BottomNavigation
Ripple
SkeletonContainer
Avatar
Circular ProgressBar
FlatColorPicker
SplitButton
Signature
Chip
ChipList
VS Code Extension
AIPrompt
PropertyGrid
Sankey
Chart Wizard
OTP Input
SpeechToTextButton
InlineAIPrompt
StockChart
ContextMenu
DateTimePicker
RadialGauge
ArcGauge
AICodingAssistant
SmartPasteButton
PromptBox
SegmentedControl
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?