Telerik Forums
Kendo UI for jQuery Forum
2 answers
99 views
Can I get an example of how to do this in MVC 3, as I tried implementing the example into my mvc 3 application, and cannot get it to work.
Mark
Top achievements
Rank 1
 answered on 24 Jan 2012
0 answers
132 views
Hello All,

I am new to kendo ui. I have used grid and used template. It is very fine with mozila but in IE8 it show that it has error on line 3 of kendo/js/jquery.min.js

on IE it is now showing drop of kendo ui.

I have no clue to resolve this issue.

Please tell me solution if any one already faced this issue.

Thanks in advance

Regards,
Ashok
Ashok
Top achievements
Rank 1
 asked on 24 Jan 2012
0 answers
119 views
On alpha-numeric strings, I'm kinda glued to an "Asciibetical" sort due to how strings are sorted.

Does the datasource control have any injection points to override the default sort comparer for strings?
Joel
Top achievements
Rank 1
 asked on 24 Jan 2012
0 answers
259 views
Hi again,
There's an issue with the k-textbox style in the black theme. The color is set to #FFFFFF, and since the bg is also white, the text is invisible.
You can appreciate that easily in the validator demo if you switch to the black theme:
http://demos.kendoui.com/web/validator/index.html

Also, i see in the fourm that k-textbox is the suggested class to style regular textboxes similarly to other kendo input controls, but they don't really look similar in some cases, you can see in the same demo that the regular textboxes look quite different to the autocomplete (border, hover effects...).
Should I be using another class or is this something that needs to be fixed?

Thanks!

Andrés
Andrés
Top achievements
Rank 1
 asked on 24 Jan 2012
7 answers
249 views

I've reproduced a problem I'm seeing in my own application by modifying the Data Source > Binding to XML example to use a grid for rendering rather than a template, as shown in the code below.   Except for specifying an original sort order, the data source is unchanged.  I've configured the grid to allow grouping and sorting.  However, whenever I attempt to either group or sort, I get

    Error: Unable to get value of the property 'book': object is null or undefined

The debugger call stack indicates that the error is occurring in an "evaluate" method in kendo.data.xml.min.js.  (I have the trial version, so can't inspect the source code further.)

Additionally, my original sort order is not being respected;  the grid loads unsorted.

Are these bugs mine or the framework's?

<div id="grid"></div>
 
<script>
    $(document).ready(function() {
        var element = $("#grid").kendoGrid({
            dataSource: {
                transport: {
                    read: "books.xml"
                },
                schema: {
                    type: "xml",
                    data: "/books/book",
                    model: {
                        fields: {
                            title: "title/text()",
                            author: "author/text()",
                            url: "url/text()",
                            cover: "@cover"
                        }
                    },
                sort: { field: "title", dir: "asc" }
                }
            },
            columns: [ "title", "author", "url" ],
            groupable: true,
            sortable: {
                mode: "single",
                allowUnsort: false
                }
        });
    });
</script>

Rosen
Telerik team
 answered on 23 Jan 2012
1 answer
127 views
In the Feed Reader demo by Todd, collapsing the Feed list using the vertical splitter's collapse feature. The right pane turns all screwy and doesn't resize correctly.

Check it out here : http://htmlui.com/demos/kendo/feedreader/index.html 

I've attached a screenshot of what it looks like.
Alex Gyoshev
Telerik team
 answered on 23 Jan 2012
2 answers
231 views
I'm using the inbuild function of the grid to do filtering via OData source.

When I try to filter a numeric value, I get this error from the odata service:

Operator 'eq' incompatible with operand types 'System.Int32' and 'System.String' at position 5.

Is there a way to configure the filter expression?

Thanks
Eric
Eric Schoenholzer
Top achievements
Rank 2
 answered on 23 Jan 2012
2 answers
200 views
Does grouping work with OData and specially WCF?(servergrouping = true)?

If yes, what would be the correct configuration for the grid?

Thanks
Eric

Eric Schoenholzer
Top achievements
Rank 2
 answered on 23 Jan 2012
6 answers
469 views
Hi,
I'm trying to post pure json data this way:
                                create: {
                                    url: crudServiceBaseUrl,
                                    dataType: "jsonp",
                                    contentType: "application/json",
                                    type: "POST"
                                },
                                parameterMap: function (options, operation) {
                                    if (operation !== "read" && options) {
                                        return { models: kendo.stringify(options) };
                                    }
                                }
                          }
                          batch:false

(I use 'options' instead of 'options.models' since I'm not using batch post)

but the post is not formatted correctly. If I look at the request payload (in chrome dev tools) it says
models=%7B%22Id%22%3Anull%2C%22Content%22%3A%22somecontent%22%2C%22Order%22%3A0%2C%22Done%22%3Afalse%7D 

which the server does not like and responds with 400 bad request

however, if I add my own jQuery.ajax function like this:

                    $.ajax({
                        type: 'POST',
                        url: '/api/todos',
                        data: kendo.stringify(options),
                        contentType: 'application/json',
                        dataType: 'jsonp',
                        success: function (data) {
                            _resData = data;
                        },
                        async: false
                    });                    

the request is ok:
{"Id":null,"Content":"somecontent","Order":0,"Done":false} 

and the server responds OK

What am I doing wrong? 
Thanks
Jonas
Top achievements
Rank 1
 answered on 23 Jan 2012
1 answer
153 views
I'm using a tabstrip with two grids.
Both are using a datasource, bound to the same OData service, but different entities.

When I add the second datasource, the data isn't bound anymore to the grids.
One grid alone works.

Isn't it allowed to have two different datasources?

PS: Please check your demos. Which is the correct type and format for templates?
text/x-kendo-templ 
or
text/x-kendo-template ?

You find boths.

Thanks
Eric

(Kendo UI v2012.3.111)
Kendo UI v2012.3.111 
Rosen
Telerik team
 answered on 23 Jan 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
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?