Telerik Forums
Kendo UI for jQuery Forum
2 answers
96 views
There is a bug in the ListView that causes a JavaScript error and failed refresh when the query function is called on a bound DataSource without specifying the "group" option. Here is a jsFiddle to demonstrate: http://jsfiddle.net/JNP7Z/.

According to the docs you should not have to specify grouping when calling the query function. 

Jonathan Marston
Jonathan M
Top achievements
Rank 1
 answered on 25 Feb 2013
1 answer
197 views
Hello, I am using a KendoUI Grid in a KendoUI Mobile application and the pagination line makes a <br /> due to the width of the application and the width of the grid. I would like to use a horizontal scroll  to fix this problem.

Here I attached an image to see the problem.

Thanks!
Alexander Valchev
Telerik team
 answered on 25 Feb 2013
1 answer
182 views
I have a grid and a custom button column. I am calling an another .Net page which has another kendo grid.


{command: { text:

 

"Devices", click: ShowDevicePage }, title: " ", width: "120px" },

 


 

                function ShowDevicePage(e) {

                        e.preventDefault();

                        var dataItem = this.dataItem($(e.currentTarget).closest("tr"));
                        var url = "AssignDevice.aspx?DRC=" + dataItem.id;

                        $(document.body).append('<div id="myDynamicWindow"></div>');

                        var wnd = $("#myDynamicWindow").data("kendoWindow");

                        wnd = $("#myDynamicWindow").kendoWindow({
                            title: "Devices",
                            content: url,
                            width: "950",
                            height: "450",
                            visible: false,
                            modal: true,

                            close: function () {
        
        //Refresh the Grid
                                var childGrid = $(e.delegateTarget).closest(".k-grid").kendoGrid().data("kendoGrid");
                                childGrid.dataSource.read();

                                $(e.delegateTarget).closest(".k-grid").kendoGrid().data("kendoGrid").refresh();
                            
                            }

                        }).data("kendoWindow");
                               

                                wnd.center();
                                wnd.open();
                    }  //ShowDevicePage

 

 On close of the modal Window I need to reload the Grid which is in the calling page. How do i do that?

Daniel
Telerik team
 answered on 25 Feb 2013
1 answer
1.4K+ views
How would I disable the tabstrip based on whether a checkbox is checked or not?  Is there a way to disable the entire strip or do you need to loop through the tabs and disable each?

A code snippet would be greatly appreciated.
Iliana Dyankova
Telerik team
 answered on 25 Feb 2013
1 answer
204 views
I'm using the following

.DropDownListFor(m => m.countryId)
            .DataSourceAction("GetSomething")
            .DataSourceController("SomethingMethod")
            .IsEnabled(true)
            .Name("Something")
            .OptionLabel(this.LocalResources("OptionSelect"))
            .ServerFiltering(true))

I'm trying to use the search / select functions on the dropdown but when I do a console log of the dropdownlist obj I don't see it in there

e.extend.init {element: p.fn.p.init[1], _events: Object, options: Object, template: function, ul: p.fn.p.init[1]…}
  1. _arrow: p.fn.p.init[1]
  2. _busy: null
  3. _current: p.fn.p.init[1]
  4. _events: Object
  5. _fetch: false
  6. _focused: p.fn.p.init[1]
  7. _inputWrapper: p.fn.p.init[1]
  8. _old: ""
  9. _oldIndex: 0
  10. _refreshHandler: function (){return a.apply(c,e.concat(k.call(arguments)))}
  11. _requestStartHandler: function (){return a.apply(c,e.concat(k.call(arguments)))}
  12. _text: function anonymous(d) {
  13. _touchScroller: false
  14. _value: function anonymous(d) {
  15. _word: ""
  16. dataSource: o.extend.init
  17. element: p.fn.p.init[1]
  18. list: p.fn.p.init[1]
  19. options: Object
  20. popup: e.extend.init
  21. selectedIndex: 0
  22. span: p.fn.p.init[1]
  23. template: function anonymous(data) {
  24. ul: p.fn.p.init[1]
  25. wrapper: p.fn.p.init[1]
  26. __proto__: b
  27. var dropdownlist = $("#country").data("kendoDropDownList"); dropdownlist.select("United States");
    TypeError: Object United States has no method 'hasClass'
    1. arguments: Array[2]
    2. get message: function () { [native code] }
    3. get stack: function () { [native code] }
    4. set message: function () { [native code] }
    5. set stack: function () { [native code] }
    6. type: "undefined_method"
    7. __proto__: Error

Georgi Krustev
Telerik team
 answered on 25 Feb 2013
1 answer
194 views
I am trying to use the custom editor function of the grid to show a kendoAutoComplete control ..Please find the example attached for the same ..i am facing issue with focus and the keyboard navigation's like "tab".
Issue 1: After loading when we click on the cell it should convert to a kendoAutoComplete control .after typing some text .if i click again on the cell it is losing the focus, now if i have to modify the entered text its not possible.
Issue 2:After entering some text if i want to go to next column using key tab or any another key combination --not able to do that .. 


please assist me on this..



Thanks in advance
 
Daniel
Telerik team
 answered on 25 Feb 2013
4 answers
909 views
I own a small farm and am selling products from my farm to people locally.  I am also a software developer familiar with MVC.  I would like to create a slide show or other nice looking picture gallery from pictures from our farm.  I have looked at the window widget and thought it might be a good start.  Does anyone have any suggestions on how to make a nice looking gallery that is not terribly obtrusive?

Thanks,
John
Henry
Top achievements
Rank 1
 answered on 25 Feb 2013
1 answer
118 views
I'm trying to bind listview items containing checkboxes to observable array. Changes made in checking/unchecking checkboxes in listview are correctly propagated into data items. But when I try to change programatically the data in the array the listview is bound to the change is not propagated back to checkbox.
Here's a simple jsfiddle. The button "Toggle" should change the array data. The view title demonstrates that the changes in checkboxes are correctly propagated into array.

Am I missing something?

Thanks for help.
Norbert
Top achievements
Rank 1
 answered on 24 Feb 2013
5 answers
2.6K+ views
I have a Kendo grid that allows adding a new record. When the user adds a record it not only submits the current new record, but also resubmits all previously submitted new records. That is:
  • add first new record, submit record 1
  • add second new record, submit record 1,2
  • add third new record, submit record 1,2,3
  • etc.
This quickly creates MANY duplicate records in my DB.

Is this related to "batch"? I have it set "batch: false"

Thanks,
DJo

Edit:
I might have the problem. I'm using parameterMap with a switch on type; case "create" pushes a new object onto a changeSet array then does "return (JSON.stringify({ "changeSet": changeSet }))". I think this might just be building up an array of changes that grows with each create and gets sent each time.
Is it OK to splice the array after the return statement?
Michel
Top achievements
Rank 1
 answered on 23 Feb 2013
3 answers
520 views
Hi,

Is there a way to set the date in the footer to this format : 12 december 2011? For the months, how can i set in in my language?

Thx,

Kevin,
Christophe
Top achievements
Rank 1
 answered on 23 Feb 2013
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
DropDownTree
ListBox
PDFViewer
Sparkline
ActionSheet
TileLayout
PopOver (Mobile)
TreeMap
ButtonGroup
Styling
ColorPicker
Pager
Chat
MultiColumnComboBox
Dialog
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Accessibility
Effects
Licensing
PivotGridV2
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
LLM Kit
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?