Telerik Forums
Kendo UI for jQuery Forum
3 answers
354 views
I need to update the smallStep property based on user actions.

I tried:

var slider = $("#sliderHours").data("kendoSlider");
slider.smallStep = "1";

but it had no impact.  The first line did access the slider, but 'slider.smallStep' is undefined.  I tried to re-initialize the slider but that also had no impact.


Hristo Germanov
Telerik team
 answered on 28 May 2012
1 answer
59 views
Hi,
I'm trying to hide the thumb selector in code, and I can obviously find it using
$('.k-draghandle').hide();
but what is a 'correct' way of doing so if I want to ensure only the specified one is hidden?

For example:
$('#slider .k-draghandle').hide();
doesn't work.

Am I missing something obvious? Do I have to add my own <div id='whatever'> around the slider?

Cheers,
 Jason
Jason
Top achievements
Rank 1
 answered on 28 May 2012
1 answer
266 views
Hi, 

I have an app that has a menu using MVVM which is created on the layout page (asp.net mvc 3)

The "center" part of my app, is actually a specific UI to get something done, that also uses MVVM. 

So my page has 2 view models at the same time, always.

I have noticed that depending on the order in which I do kendo.bind(), it may break the MVVM functionality for events.

The change event of my grid, get's the wrong viewmodel sent as an argument.

This is the actual error :

  1. Uncaught TypeError: undefined is not a function kendo.web.js:7038
    1. binders.widget.events.Binder.extend.refresh.handlers.(anonymous function)kendo.web.js:7038
    2. Class.extend.triggerkendo.web.js:156
    3. Widget.extend._selectable.that.selectable.kendo.ui.Selectable.changekendo.web.js:18322
    4. Class.extend.triggerkendo.web.js:156
    5. Widget.extend.valuekendo.web.js:10465
    6. Widget.extend._upkendo.web.js:10448
    7. e.extend.proxy.gjquery-1.7.2.min.js:2
    8. f.event.dispatchjquery-1.7.2.min.js:3
    9. f.event.add.h.handle.ijquery-1.7.2.min.js:3

I have also created a JsFiddle that shows the exact same error. 

Is this an actual error, or am I doing something really wrong ?

Thanks, 

Alvaro Oliveira.
 
Atanas Korchev
Telerik team
 answered on 28 May 2012
1 answer
164 views
I'm trying to design a view with a full screen google map and a scrolling listview pinned to the right side. Items in the listview would correspond to locations on the map.

I can't seem to accomplish this without the map scrolling in tandem with the listview. 

1. is it possible to have multiple elements inside a view that scroll independently?
2. is it possible to have more than one view on the screen at the same time?

Thank you!
-Adam
Petyo
Telerik team
 answered on 28 May 2012
10 answers
246 views
I'm trying to bind the KendoDS to a simple oData method

[WebInvoke(Method = "GET")]
        [WebGet]
        public string HelloGET() {
            return "Hi THere from GET";
        }

var helloDS = new kendo.data.DataSource({
        transport: {
            read: {
                // the remote service URL
                type: "GET",
                url: oDataBasePath + "/USDA.svc/HelloGET?$format=json",
                dataType: "jsonp",
                contentType: "application/json; charset=utf-8",
            }
        },
        change: function () {
            alert("Change");
        },
        error: function(){
            alert("error");
        }
    });
 
    helloDS.fetch();

So I see the GET works, I get my JSON back
{
"d" : {
"Hello": "Hi THere"
}
}

But Firebug throws the error:
invalid label

This is the callback from Firebug
http://odata.gourmetsleuth.com/USDA.svc/HelloGET?$format=json&callback=jQuery17106241045930093632_1323571371269&_=1323573597895

So I'm getting my callback method

What am I doing wrong here?  Shouldn't the odata method be returning that callback ID in the result?
Mentor Graphics
Top achievements
Rank 1
 answered on 28 May 2012
3 answers
385 views
Hi,

I have a kendo grid, where i have enabled multiple row selection. Right now, i can select rows by using shift key and clicking on the rows in a page. But, when i move to other page, rows that were selected in last page does not remain selected. I want them to remain selected and also, that the user should be able to select new rows across the pages. Is it possible?

Regards,
Khushali
Alexander Valchev
Telerik team
 answered on 28 May 2012
0 answers
111 views
I am using kendo grid and populating hierarchical data. On grid load the first row is already expanded. Is it possible that if i open 1 row other collapse automatically? Basically I want only one row to expand at a single instance. Normally in Grid we can expand multiple row at a time.
Mohit
Top achievements
Rank 1
 asked on 28 May 2012
1 answer
99 views
should not appear a horizontal scrool but i see and use horizontal scrool why use scrool? 

I have
 written the code below 

<div id="main" data-role="view" >
<header data-role="header">
<div data-role="navbar">
<span data-role="view-title"></span> <a data-align="right"
data-role="button" class="nav-button" href="#"
onclick="closeApp();">Close</a>
</div>
</header>
<div class="ustBaslik">
ESS
</div>
<div class="link">
<a href="#frmFotolar">
<img src="images/fotolar.png"/>
<div>Photo</div>
</a>
</div>
<div class="link">
<a href="#frmMail">
<img src="images/eposta.png"/>
<div>EMail</div>
</a>
</div>
<div class="link">
<a href="#frmTakvim">
<img src="images/takvim.png"/>
<div>Calculater</div>
</a>
</div>
</div>
Petyo
Telerik team
 answered on 28 May 2012
1 answer
122 views
I noticed that the demo, 'mobile form inputs' wasn't showing input type-specific keyboards that I'd expect on my iPad, and went looking for a solution.

The solution is to use a <form> tag.

Now, for instance, my <input type='search' ....> tag renders an input box with an associated search keyboard with a 'Search' button in place of the 'Return' button.
Kamen Bundev
Telerik team
 answered on 28 May 2012
3 answers
304 views
Hi again here guys,

I've noticed another strange problem on my tablet with "select" event on TabStrip:

here's functions:

$(document).ready(function() {
    tabStrip = $("#chPage").kendoTabStrip({
            select: onSelect,
            animation: false
    });
 
 
 
function onSelect(e) {$(document).ready(function() {
    switch(e.item.id) {
        case "chBtn1" :
             $('#chPage-1').empty();
        break
        case "chBtn2" :
            $('#chPage-2').empty();
        break
        case "chBtn3" :
            $('#chPage-3').empty();
        break
    }
    fillPages();
}

On my Desktop, it works like a charm, with no problem at all, but on my tablet it's broken and I'm stucked. Console says :

Uncaught TypeError: Cannot read property 'id' of undefined

Any help would be appreciated!
Kamen Bundev
Telerik team
 answered on 28 May 2012
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
MultiColumnComboBox
Chat
DateRangePicker
Dialog
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Effects
Accessibility
PivotGridV2
ScrollView
BulletChart
Licensing
QRCode
ResponsivePanel
Switch
Wizard
CheckBoxGroup
TextArea
Barcode
Breadcrumb
Collapsible
Localization
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
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?