Telerik Forums
Kendo UI for jQuery Forum
2 answers
141 views

I'm switching views using app.navigate and when I do, the header in the new view has height of 0.

http://dojo.telerik.com/@calebsandfort/AdaQO

Caleb Sandfort
Top achievements
Rank 1
 answered on 14 Jul 2017
1 answer
479 views

I can't seem to figure out how to have the dialog actions bound to a function on the model.

I tried the following but it doesn't seem to work. What am I missing?

model = kendo.observable({
                        value: [],
                        save: function () { console.log('wheee'); }
                    });
 
kendo.bind(el, model);
 
<div data-animation="false" data-visible="true" data-role="dialog" data-resizable="false" data-title="Select Multiple" data-actions="[{ text: \'Cancel\' }, { text: \'Apply\', action: save, primary: true }]"></div>

 

Veselin Tsvetanov
Telerik team
 answered on 14 Jul 2017
1 answer
126 views

Hello,

I connected a kendo tooltip to my diagram with a filter of "g".  The tooltip is showing when hovering over a shape. I want the tooltip to be loaded from ajax, so I have added an event handler for requestStart of the tooltip.

However, I cannot seem to access the dataItem of the shape in the requestStart event handler to get the id of the item.  e.target[0] appears to be the shape, but I can't seem to access the dataItem from it.

Let me know if you want any sample code.

Thanks.

Tsvetina
Telerik team
 answered on 14 Jul 2017
1 answer
164 views

Is there a way to determine miles/meters based on the zoom and scale of the map. 

Example the map has center starting coordinates defined based on a center radius search with a default miles, i.e. "You are Here" marker. Other markers are displayed based on the initial result of the center radius search. The screen's zoom rate must be adjusted to display all markers returned.

As the user zooms out a measurement of the next zoom rate is calculated into miles/meters and a new data get occurs returning additional markers within the new search radius. 

For Bing maps I have looked at the following article:

https://msdn.microsoft.com/en-us/library/aa940990.aspx

But I am still not sure how to accomplish the desired functionality described above. 

Preslav
Telerik team
 answered on 14 Jul 2017
6 answers
4.5K+ views
Is there any way to restrict a multiselect to only having one selection, and then no more can be made.  I tried playing with the changed event, and checking for the number of values, and if more than zero, disabling the control, but then it wasn't possible to remove the selection, and add a new one.

multiChanged: function(e) {
    var values = e.sender.value();
    if(values.length > 0) {
      viewModel.set("available", false);
    }
  }


So I switched to using the select event, checking the value for more than zero.  

selected: function(e) {
    if(viewModel.selectedNames.length > 0) {
      e.preventDefault();
    }
  },


This seems to work, but am more wondering if there is something built-in to the multiselect so I wouldn't have to use the events.

Here is my semi-working sample Demo@TryKendoUI

Dimitar
Telerik team
 answered on 14 Jul 2017
1 answer
145 views

Hello,

is it possible to set a C# list as data for the Kendo Treemap?

 

Thanks in advance.

 

 

Stefan
Telerik team
 answered on 14 Jul 2017
5 answers
809 views

Hello, 

I would like to implement zoom in and out buttons manually.

http://dojo.telerik.com/Irepu/5

 

Here's a dojo fiddle, and currently button zooms in and out at the very center of diagram where I use .boundingBox(). But if I click on FOCUS button (which for demo purposes moves focus to the beginning to the diagram) I would like those buttons to zoom in and out at the center of the screen which user sees, so that the beginning of the diagram would be zoom in and out.

 

As I imagine I would need some .boundingBox() offsets or something. However i can not find anything like that.

Stefan
Telerik team
 answered on 14 Jul 2017
4 answers
195 views
The issue seems to be in the latest Kendo UI Grid Demo as well. Please use the link http://dojo.telerik.com/AJApA.
The grid works in small screens like tablets. Open the above demo link in large screen and it works fine. Move the slider between the code and result window to the left to the maximum and try again. Upon clicking the dropdown, the dropdown list blinks and closes off.
Stefan
Telerik team
 answered on 14 Jul 2017
3 answers
144 views

When  selected weekly like the picture,

If didn't checked any day of the week can't that the event save and need to alert a message

宏吉
Top achievements
Rank 1
 answered on 14 Jul 2017
3 answers
457 views
I want remove the options day,weekend and weekday in the dropdownlist  ,how to do this?
宏吉
Top achievements
Rank 1
 answered on 14 Jul 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
ScrollView
Switch
TextArea
BulletChart
Licensing
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
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
TimePicker
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
SegmentedControl
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?