Telerik Forums
Kendo UI for jQuery Forum
2 answers
140 views
Hi guys
I've been using the Fluentenium framework in order to do automation tests under Selenium and i'd like to create some tests that can access the iframe that gets rendered when the Kendo UI Text Editor gets created, or somehow programmatically add content / extract content from it using this type of automation.
Do you guys support Fluentlenium at all? If not, are there other alternatives to interact with the Kendo UI Text Editor programmatically using automation?

Thanks
Roman Jaquez
Roman
Top achievements
Rank 1
 answered on 10 Mar 2014
1 answer
218 views
Kendo.UI 2013.3.1324

I am cutting/pasting sample code from MVC grid control for local data.  My IEnumerable list of data is populated into SearchResults.  When I look at the HTML source, I see all the row and column data in the table, and repeated again in the kendoGrid() method as JSON.  Not sure why it is repeated again here.  What actually renders though, is that I see all the data in the grid flash for a millisecond on page load, but then it shows "No items to display" with empty grid.  Obviously when it hits the kendoGrid() method, something goes wrong.  If I add Deferred(true), then the grid is populated, but paging does an undesirable postback.  So, why is the code populate both the HTML table, and the JSON passed to kendoGrid() method?

​ @(Html.Kendo().Grid(Model.SearchResults)
.Name("GridResults")
.Columns(columns =>
{
columns.Template(p => @Html.ActionLink("Edit", "Edit", new { Id = p.RecipeId }));
columns.Bound(p => p.ProductType).Title("Type");
columns.Bound(p => p.DisplayRecipeId).Title("Recipe ID").Width(130);
columns.Bound(p => p.RecipeName).Title("Recipe Name").Width(130);
columns.Bound(p => p.Status).Width(130);
columns.Bound(p => p.CreateDate).Title("Create Date");
columns.Bound(p => p.RevisedDate).Title("Revised Date");
})
.Pageable()
.Sortable()
.Scrollable(scr => scr.Height(350))
.DataSource(dataSource => dataSource
.Ajax()
.PageSize(15)
.ServerOperation(false)
)
)
Daniel
Telerik team
 answered on 10 Mar 2014
6 answers
148 views
I've got an issue with an area chart where by its not filling 100%, when it should.

See the chart below… 
I've blocked out the legend for client reasons.
The obvious one is to the right, but there are smaller areas that don’t fill 100%.




Along each point of the categoryAxis, the value in the series sum to 100% (I have checked in the data, I am totally sure of this).

I think what might be the problem is that along each point, there is not always the same number of items in the series (items in the legend - not sure of the terminology!).
Jul-08 may have 10 values.
Sep-12 may have 8 values.
Although they all sum to 100%.

I'm wondering if kendo is taking the number of data fields in the first category point and using that to calculate the rendering.

I have tried to use the same data with highchart, the result is really what I would expect to see.  Some white gaps for missing data, but all going to 100%.





Is there a setting or something that I am missing in kendo to achieve this?










T. Tsonev
Telerik team
 answered on 10 Mar 2014
1 answer
128 views
Although I am using AngularJS with the kendo-angular - I am trying to use the Grid, I want to bind the grid to an array, I read that if I am providing array as dataSource it will automatically convert it to dataSource, am I am loosing the direct binding? cause I want to change the array content and automatically the grid will be updated.

When I am trying to use array and not kendo-datasource i am getting exception

TypeError: Unable to get property 'create' of undefined or null reference
   at toDataSource (http://localhost:64968/Client/lib/angular/angular-kendo.js:16:9)
   at Anonymous function (http://localhost:64968/Client/lib/angular/angular-kendo.js:32:13)
   at $digest (http://localhost:64968/Client/lib/angular/angular.js:11501:21)
   at $apply (http://localhost:64968/Client/lib/angular/angular.js:11740:13)
   at Anonymous function (http://localhost:64968/Client/lib/angular/angular.js:13265:25)
   at completeOutstandingRequest (http://localhost:64968/Client/lib/angular/angular.js:4021:7)
   at Anonymous function (http://localhost:64968/Client/lib/angular/angular.js:4327:7) 
Petur Subev
Telerik team
 answered on 10 Mar 2014
1 answer
251 views
For some reason my kendoComboBox, with server side filtering, is hitting my MVC controller twice, the first time with no data. Any idea why this is happening? 

Also another note, I do not need all the fancy filter criteria that is sent by kendo, I send a term, and perform an OR search across address fields. 


$('#ELEMENT').width(700).kendoComboBox({
dataSource: addressDS,
dataTextField: "NAME",
dataValueField: "ID"
});


var addressDS = new kendo.data.DataSource({
        schema: {
            model: {
                id: "ID",
                fields: {
                    ID: {type: "number"},
                    NAME: {type: "string"},
                    ADDRESS1: {type: "string"},
                    CITY: {type: "string"},
                    STATE: {type: "string"},
                    ZIP: {type: "string"},
                    COUNTRY: {type: "string"},
                    
                }
            },
            data: function(data) {
                return data.Results;
            },
            total: function(data) {
                return data.ResultCount;
            }
            
        },
        transport: {
            read: {
                type: 'json',
                url: '/Address/Autocomplete'
            },
            parameterMap: function(data, type) {
                return {
                    term: $('#ELEMENT').val()
                };
            }
        },
        serverFiltering: true
    });
Georgi Krustev
Telerik team
 answered on 10 Mar 2014
4 answers
199 views
Hi,

Since the latest version the app.pane.history became obsolete? (Only contains one item).
Is there any way to know the amount of items in the history now?



Dorian
Top achievements
Rank 2
 answered on 10 Mar 2014
1 answer
80 views
See this page:

http://162.243.119.49/FAQ/test1.php

Notice how the pagination section at the bottom the layout is all over the place. Im not using any other css files and it seems to be finding the css files fine. Is there something small im missing that would explain the messed up layout. Also if you compare it to the examples on the demo my rows also seem to be much bigger too.

Any help appreciated
Dimo
Telerik team
 answered on 10 Mar 2014
3 answers
147 views
Hello,

I would like to create a line chart with a visible crosshair and an event handler for plotAreaClick. The event handler is needed to process the data point category (event data: e.category). The event is not fired if the mouse pointer touches the crosshair.

Is there a similar event for clicking the crosshair which provides the category – or any other solution for this problem?
Hristo Germanov
Telerik team
 answered on 10 Mar 2014
3 answers
204 views
Hi,
I have a simple grid and I'm using the script shown in the documentation.
var grid = $("#grid").data("kendoGrid");
grid.select("tr:eq(1), tr:eq(2)");
In my code, I have this in my grid's options:
dataBound: function (e){
                                      console.log(e.sender);
                                      if (e.sender.dataSource && e.sender.dataSource.data().length>4){
                                        this.select("tr:eq(1)");
                                      }
It gives me an error:
TypeError: Object [object Object] has no method 'selected'
What am I missing?
Thanks
Dimiter Madjarov
Telerik team
 answered on 10 Mar 2014
4 answers
336 views
Using MVC I have a Grid which support column ordering, filtering etc.

Once a user has customized their grid to the way they like it, is there a way to save those customization into perhaps a cookie so that when the form comes up again, they are kept?

Andrew
Top achievements
Rank 1
 answered on 10 Mar 2014
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
Chat
MultiColumnComboBox
Dialog
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Accessibility
Effects
PivotGridV2
ScrollView
Switch
BulletChart
Licensing
QRCode
ResponsivePanel
TextArea
Wizard
CheckBoxGroup
Localization
Barcode
Breadcrumb
Collapsible
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
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
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?