Telerik Forums
Kendo UI for jQuery Forum
0 answers
101 views
It looks like the search pattern in the "contains" logic searches something along the line of %some value%

Is there any way I can get to search by %some%value% without having to implement a custom filter?

I have a working example of the custom filter but I just want to be sure that there isn't some way this can be done that is already in the grid filter. I have several grid columns that will need this logic.

Thanks!
David
Top achievements
Rank 1
 asked on 19 Nov 2012
0 answers
151 views
I am finding that, no matter what I set the Step value to, pressing the up and down arrow keys adds or subtracts exactly double the step value (clicking on the spinners respects the step setting). Is this by design?
Mark
Top achievements
Rank 1
 asked on 19 Nov 2012
0 answers
124 views
My controls are widgets, so if I define my template in the markup it appears twice on the page...

Is there a way with the MVVM that I can move the template out to my JS and still bind it?...like a data-bind="template: markup, source: data" or something?

Steve
sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
 asked on 19 Nov 2012
0 answers
93 views
When i change the url of a tab on my tabstrip the document.ready code for that page does not get called, how can i ensure that it does? 
Andrew
Top achievements
Rank 1
 asked on 19 Nov 2012
4 answers
517 views
Hello,
I'm using the MVC method for my AutoComplete. I'm able to connect to the data source and bring back a list, however, I would like to send what the user is typing to the action in order to filter on the server instead of bringing back all 4000 results and filtering on the client. I cannot seem to figure out either how to add it to the request, or to pick it up in the controller. My helper looks like this:
@(Html.Kendo().AutoCompleteFor(x => x.Distribution)
                    .DataTextField("label")
                    .DataSource(source => {
                        source.Read(read => {
                            read.Url("/EmployeeSearch");
                        });
                        source.ServerFiltering(true);
                    })
                    .Filter("contains")
                    .Suggest(true)
                    .MinLength(3)
                    .Separator("; ")
                )

I can see from the post that filter[filters][0][value]textbeingtyped
is sent in the request, but I can't figure out how to pick that up in the Controller.

Thanks for any help you can provide.
Jon
Top achievements
Rank 1
 answered on 19 Nov 2012
2 answers
423 views
According to the documentation, the error handling arguments are the same as for $.ajax(). But this appears not to be the case, as the 2nd and 3rd parameters are always null. What arguments can we expect?
Connections Academy Developer
Top achievements
Rank 1
 answered on 19 Nov 2012
2 answers
188 views
Hi,

I recently updated to Q3 version and noticed a change in the CategoryAxis Plotbands. I can no longer set the From/To setting of Plotband to decimal number. For example, say the chart has 20 categories. Earlier I could do something like:
categoryAxis: {
	...
	plotBands: {
		from: 10.5,
		to: 11.5,
		color: "#443300"
	}
}
but now in Q3 seems like I can only use integers.

Has this changed in Q3 or some additional chart configuration I need to set to be able to use decimal numbers as before?

Thanks,
Amrinder
Amrinder
Top achievements
Rank 1
 answered on 19 Nov 2012
4 answers
92 views
In my practice, I use lastest version(v2012.3.1114),

In ListView widget,  I use  "loadMore=true", so the  loadMore button show in the bottom of the list.
It was implemented with below code in Kendo Mobile
###################################
 if (loadMore) {
                    that._loadButton = $('<button class="km-load km-button">' + options.loadMoreText + '</button>')
                                        .click(function() {
                                           that.loading = true;
                                           that._toggleButton(false);
                                           that.dataSource.next();
                                        });

                    loadWrapper.append(that._loadButton);
                }


#############################

It work fine on PC , but  it works bad when i test on Android  mobile( I force my app show in "ios" platform style).
It gives reaction only if click on it continuously.


I test on other conditions like :
########################################
<a class="tabButton" >Test link</a>
.............
$("a.tabButton").on("doclick", funtionName);
########################################
It turns out the  same as "loadMore" button.


WHo can help me on this issue?
Yunfei
Top achievements
Rank 1
 answered on 19 Nov 2012
6 answers
1.5K+ views
Good morning,

I have a situation where I would need to update the displayed name of a treeview node after it has been updated to the database in an edit window. I would obviously like to do this without having to do a full refresh of the data. Haven't been able to find a way to do this though. What I have tried so far:

var treeView = $('#koulutuspuu').data('kendoTreeView');
// Get the data item.
var getitem = treeView.dataSource.get('Tehtävä' + $('#tehtavaID').val());
// Change the name
getitem.nimi = $("#otsikko").val();

// The above works in that the data item "nimi" (the display field) is changed, but this change is not reflected in the treeview.

/* Adding the following code will change the entire text of the tree node, throwing away the icon and also the "treeview-template" formatting */
var treeItem = treeView.findByUid(getitem.uid);
treeItem.text($("#otsikko").val());


So what I would need is a refresh function on the tree (or even better on the node itself) that will cause it to redraw according to the treeview-template, and retaining the icon also. Is this possible?


Regards,
Miika
Thanos
Top achievements
Rank 1
 answered on 19 Nov 2012
5 answers
376 views
How do you customize the fore and back colors and what is the defaults? I thought I saw this on your site once but I cannot no longer find this page.
Iliana Dyankova
Telerik team
 answered on 19 Nov 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
Drag and Drop
Application
Map
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
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?