Telerik Forums
Kendo UI for jQuery Forum
0 answers
82 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
443 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
393 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
159 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
78 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.4K+ 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
336 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
0 answers
99 views
I'm using the bind to remote data functionality of the tree view control as found in this demo:  http://demos.kendoui.com/web/treeview/remote-data.html and I was wondering if it's possible to pre-load child nodes.

When I expand a node that has children in the demo; a progress spinner is shown and an AJAX request is made and brings back the child nodes. I would like to load the next set of child nodes in the background before the node is expanded so that the user does not see the spinner and the tree view seems more responsive, this means that when a node is expanded the next 2 levels are brought back instead of just the next immediate level.

Is this possible?

Thanks,
Jimmy
Jimmy Rustler
Top achievements
Rank 1
 asked on 19 Nov 2012
1 answer
128 views
Hi! We use Kendo UI framework for our application, but I can't use DataWiz for showing data. I need to show data as "step line" chart. You can view example in attach file (highstock charts used) or in action at jsfiddle
Do you have plans to implement this chart type?
Iliana Dyankova
Telerik team
 answered on 19 Nov 2012
0 answers
37 views
Hi,

I used the following code for deleting record or row in the grid :-
 $("#grid").on("click", ".k-grid-delete", function(e){
                      
                                  
                               var listTitle = "GraniteTestList";
                                context = SP.ClientContext.get_current();
                                if(id!==null || id !== "")
                                {
                              var list= context.get_web().get_lists().getByTitle(listTitle);
                              var listItem = list.getItemById(id);
 
                                  listItem.deleteObject();

                              context.executeQueryAsync();
                              }
                             
                                        
                        
                            //alert(id);
                       });


It works finely, but after deletion of grid row the sharepoint page also get deleted.
I have been bothered why this is really happening?
Please provide the appropriate guidance.
Thanks in advance.
Kalpesh
Top achievements
Rank 1
 asked 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
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
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
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?