Telerik Forums
Kendo UI for jQuery Forum
5 answers
148 views
I am getting an error like " kendo.all.min.ext:79 Uncaught TypeError: Cannot read property '_grid' of undefined" when I tried to increase the size of the column directly . However, when I first clicked on the spreadsheet ( it adds the scrollbar )  and then increased the column size , I didn't get that error . Please advice.
Dimiter Topalov
Telerik team
 answered on 05 Oct 2016
5 answers
253 views

I'm trying to configure a DnD from a TreeList view onto custom sidebar. I'm using Angular 1.x, and the the sidebar is configured as a directive complete with its own scope.

Is there a recommended way to transfer the data model that's tied to the treelist row to and from this sidebar given they are separate in scope?

Looking as many of the demos, it was difficult for me to determine how exactly to apply those techniques to my scenario.

 

Stefan
Telerik team
 answered on 05 Oct 2016
1 answer
70 views

Using the Kendo UI Angular 2 Beta with a project using NG Upgrade causes the following error -

Only selectors matching element names are supported, got: [kendoGridColGroup]

According to the Angular 2 team using attribute selectors in components is considered an anti-pattern and should be avoided which is why they added this hardblock check in the NG Upgrade bootstrapper (They are removing this as it is obviously causing issues with 3rd party libraries).  Are the Kendo team aware they should be avoiding attribute selectors?  Might be something they should discuss with the Angular team in case they start blocking this in the regular Bootstrapper as well.

 

Dimo
Telerik team
 answered on 05 Oct 2016
1 answer
234 views

Is there a way to enable filtering in the list if it does not use a dataSource and just binds directly to the HTML ?

 

<ul id="listView">
    <li>Item 1</li>
    <li>Item 1</li>
    <li>Item 1</li>
</ul>

<script>

$("#listView").kendoMobileListView({

filterable: true

});

</script>

 

I do get a textbox to filter, but no matter what I type, nothing comes up!

Stefan
Telerik team
 answered on 05 Oct 2016
1 answer
256 views

Hi,

 

we test our kendo based application with ZAP security scanner Tools. It reports one high security risk caused on kendo.all.min.js file.

Description
Attack technique used for unauthorized execution of operating system commands. This attack is possible when an application accepts untrusted input to build operating system commands in an insecure manner involving improper data sanitization, and/or improper calling of external programs.
URL
https://service.cboxcloud.com/api/kendo/kendo.all.min.js;sleep%20%7B0%7Ds;
Parameter
kendo.all.min.js
Attack
kendo.all.min.js;sleep {0}s;
Solution
If at all possible, use library calls rather than external processes to recreate the desired functionality.
Run your code in a "jail" or similar sandbox environment that enforces strict boundaries between the process and the operating system. This may effectively restrict which files can be accessed in a particular directory or which commands can be executed by your software....

 

Does anyone know how to reduce or  or eliminate this risk?

 

Attack technique used for unauthorized execution of operating system commands. This attack is possible when an application accepts untrusted input to build operating system commands in an insecure manner involving improper data sanitization, and/or improper calling of external programs.

URL
https://service.cboxcloud.com/api/kendo/kendo.all.min.js;sleep%20%7B0%7Ds;
Parameter
kendo.all.min.js
Attack
kendo.all.min.js;sleep {0}s;

Solution

If at all possible, use library calls rather than external processes to recreate the desired functionality.

 

Run your code in a "jail" or similar sandbox environment that enforces strict boundaries between the process and the operating system. This may effectively restrict which files can be accessed in a particular directory or which commands can be executed by your software.

Attack technique used for unauthorized execution of operating system commands. This attack is possible when an application accepts untrusted input to build operating system commands in an insecure manner involving improper data sanitization, and/or improper calling of external programs.

URL
https://service.cboxcloud.com/api/kendo/kendo.all.min.js;sleep%20%7B0%7Ds;
Parameter
kendo.all.min.js
Attack
kendo.all.min.js;sleep {0}s;

Solution

If at all possible, use library calls rather than external processes to recreate the desired functionality.

 

Run your code in a "jail" or similar sandbox environment that enforces strict boundaries between the process and the operating system. This may effectively restrict which files can be accessed in a particular directory or which commands can be executed by your software.

Attack technique used for unauthorized execution of operating system commands. This attack is possible when an application accepts untrusted input to build operating system commands in an insecure manner involving improper data sanitization, and/or improper calling of external programs.

URL
https://service.cboxcloud.com/api/kendo/kendo.all.min.js;sleep%20%7B0%7Ds;
Parameter
kendo.all.min.js
Attack
kendo.all.min.js;sleep {0}s;

Solution

If at all possible, use library calls rather than external processes to recreate the desired functionality.

 

Run your code in a "jail" or similar sandbox environment that enforces strict boundaries between the process and the operating system. This may effectively restrict which files can be accessed in a particular directory or which commands can be executed by your software.

Dimo
Telerik team
 answered on 05 Oct 2016
3 answers
466 views

When using keyboard navigation with the dropdownlist, combobox components, you cannot have no items selected in the popup. When you reach the start or end of the list, hitting the up/down arrow key wont deselect the item. In contrast to this behavior, the autocomplete popup doesn't behave the same way. When you reach the start or end of the list in that component, hitting the up/down arrow key will result in none of the items being selected. This is poor user experience in my opinion.

Imagine typing in the autocomplete input box and the popup shows only one result. By (accidently) hitting the up/down key, the item gets deselected and hitting the enter button after that will result in not having selecting an item from the list. Even more so, once you have closed the popup you cannot open the popup again with keyboard navigation. The popup will only get shown again when the text in the input box is changed. Again, this is poor user experience in my opinion.

Any suggestions?

Georgi Krustev
Telerik team
 answered on 05 Oct 2016
3 answers
111 views

Hello,

I have a tree view with check boxes and i wanted to show expander on all nodes with or with out children and loadOnDemand is false.Can i get a solution for this.

http://dojo.telerik.com/anAXE

Magdalena
Telerik team
 answered on 05 Oct 2016
2 answers
182 views

I'm using editor.getRange() function from the Editor Select event to get the current range of an element selected in the Editor.

In Chrome the getRange() function returns the range I would expect.

However in Internet Explorer the getRange() function return the wrong range. 

Why does the same method return 2 different items? The html I'm using in the the editor is as below.

 

<p style="text-align:left;"><strong></strong>Test the range of the following field <span class="dfw-IsMergeField dfw-EditorMergeField" contenteditable="false" data-iscollection="false" data-name="ApplicantAddress" data-path="Mallons.DomainFire.Models.MergeTemplates.FireCertTemplate.ApplicantAddress" id="mergeFieldButton" title="Applicant Address">ApplicantAddress</span> in Chrome and Explorer</p>
<p> </p>

Ruairi
Top achievements
Rank 1
 answered on 04 Oct 2016
2 answers
311 views

I have a grid with a column that has a filter template which is a dropdownlist. I am having trouble populating the data into the dropdownlist. What I want is to have the options be all of the unique values of all the records in that column. 

Side question: is there any easier way to populate the dropdownlist with the unique values of the columns? As this is the most logical contents to place in the dropdown, I would hope there may be some built in way?

What I'm trying to do is have it call a service that returns JSON specifying the options.

 

Below I have the 3 ways I've tried to code the data-column field based on google searches that led to very old topics on this forum, which is why I hope there is a simple way. The first 2 don't work but the third (hard coding it) does work.

1) This call hits the server and returns JSON but does not populate the dropdown.

           

{<br>                "field": "location_name",<br>                "title": "Location",<br>                "filterable": {<br>                    cell: {<br>                        template: function (args) {<br>                            args.element.kendoDropDownList({<br>                            dataTextField: "optionText",<br>                            dataValueField: "optionValue",<br>                            valuePrimitive: true,<br>                            dataSource: {<br>                                transport: {<br>                                    read: <br>                                        function(options) {<br>                                            $.ajax({<br>                                                type: "GET",<br>                                                url:  "/Patrol/Report.aspx/GetOptions",<br>                                                data: "d",<br>                                                contentType: "application/json; charset=utf-8",<br>                                                dataType: "json",<br>                                                success: function (msg) {<br>                                                    alert(msg.d); //this gets called successfully<br>                                                    return msg; //tried with and without the return<br>                                                }<br>                                            });<br>                                        }<br>                                }<br>                            }<br>                        });<br>                    },<br>                    showOperators: false<br>                }<br>            }

2) This call doesn't hit the server at all

            {
                "field": "location_name",
                "title": "Location",
                "filterable": {
                    cell: {
                        template: function (args) {
                            args.element.kendoDropDownList({
                            dataTextField: "optionText",
                            dataValueField: "optionValue",
                            valuePrimitive: true,
                            dataSource: {
                                transport: {
                                    read: {
                                        dataType: "jsonp",
                                        url: "/Patrol/Report.aspx/GetOptions",
                                    }
                                }
                            }
                        });
                    },
                    showOperators: false
                }
            }

 

 

3) Hard coding the datasource data: This works correctly

            {
                "field": "location_name",
                "title": "Location",
                "filterable": {
                    cell: {
                        template: function (args) {
                            args.element.kendoDropDownList({
                            dataTextField: "optionText",
                            dataValueField: "optionValue",
                            valuePrimitive: true,
                            dataSource: 
                                [{"optionText": "HP","optionValue": "HP"}, {"optionText": "Loc2","optionValue": "ID2"}]
                        });
                    },
                    showOperators: false
                }
            }

Tom
Top achievements
Rank 1
 answered on 04 Oct 2016
3 answers
80 views

Hello,

the problem exists only with the pdf export button icon. The excel export button icon is rendered correctly.

I was able to reproduce the problem on your demos page with Chrome and IE: Kendo Grid / PDF export / select bootstrap theme.

How can this be fixed?

 

Best regards,

Kaan

Rumen
Telerik team
 answered on 04 Oct 2016
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
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?