or
change: function(e) {
var row = this.select();
var id = row.data("id");
var splitter = $("#mySplitter").data("kendoSplitter");
splitter.ajaxRequest("#pane1", "?p=user", { id: id });
}
<input id="SearchBox" style="width: 525px;" /> <style scoped> .k-autocomplete { vertical-align: middle; } </style>
$("#SearchBox").kendoAutoComplete({ minLength: 2, dataTextField: "VenueName", dataSource: { type: "json", severFiltering: true, serverPaging: true, transport: { read: "Services/SomeService.svc/GetBusinessVenues", parameterMap: function () { return { venueName: $('#SearchBox').val(), reviewStatusId: '1' }; } } } });
for
(
var
i = 0; i < $(
'.titleData'
).length; i++) {
$(
"#item_"
+ i).kendoDraggable({
hint:
function
() {
return
$(
"#item_"
+ i +
' img'
).clone();
}
});
}
return
$(
'<img src="'
+ getRootDomain() +
'/images/slicks/'
+ $("
#titem_" + i).attr('data-sku') + '.jpg"></img>')
Given the following configuration:
$(
"#number"
).kendoNumericTextBox({
format:
"#"
,
decimals: 0,
min: 10,
max: 25,
step: 10
});
Clicking the increment gives values of
10, 20, 25. I was expecting the input to honor the step value and
allow a maximum value of 20. Would it make sense for the widget to
honor the step value at all times? Or would it make sense to honor
max value on manual input and step value on increment click?
Edit: Wow, do I feel stupid. There is no "step" method for this widget. I somehow left the step value in from my old widget configuration. DOH!! However, now that I realize that this widget does not have a step configuration option, it's unfortunate. Also, I see no way to modify the min and max values after initialization. I'll go vote for those features in Kendo Voice.
function
getUrlVars() {<br>
var
vars = [], hash;<br>
var
hashes = window.location.href.slice(window.location.href.indexOf(
'?'
) + 1).split(
'&'
);<br>
for
(
var
i = 0; i < hashes.length; i++)<br>
{<br>
hash = hashes[i].split(
'='
);<br>
vars.push(hash[0]);<br>
vars[hash[0]] = hash[1];<br>
}<br>
return
vars;<br>
} <br>
<br>
var
st = getUrlVars()[
"st"
];<br>
<br>
<br>
$(document).ready(
function
(){<br>
$.ajax({<br>
url:
'http://staging.lifecaremediacenter.com/json/states.php?st='
+ st,<br>
method:
'GET'
,<br>
dataType:
'jsonp'
,<br>
success:
function
(data){<br>
$.each(data,
function
(){<br>
$(
'#title'
).text(
this
.stname);<br>
$(
'#img'
).attr(
'src'
,
'images/states/lrg/'
+
this
.img);<br>
}) <br>
} <br>
});<br>
});