Telerik Forums
Kendo UI for jQuery Forum
3 answers
190 views
I cannot get this to bind for some reason. I have attached the Fiddler response JSON data as evidence that it is coming in.

<div class="k-content">
    <div id="listView"></div>
</div>


<script>
    $(document).ready(function() {


        var sharedDataSource = new kendo.data.DataSource({
            transport: {
                type: "odata",
                read: {
                    url: "DataService" + "/Events()?$filter=(((StartDate le datetime'2012-09-14') and (EndDate ge datetime'2012-09-14')) or ((StartDate le datetime'2012-09-21') and (EndDate ge datetime'2012-09-21'))) or (((((StartDate ge datetime'2012-09-14') and (EndDate le datetime'2012-09-21')) or ((StartDate le datetime'2012-09-14') and (EndDate ge datetime'2012-09-21'))) and (not Inactive)) and Viewable)",
                    contentType: "application/json; charset=utf-8",
                    type: "GET",
                    dataType: "jsonp",
                    data: {
                        Accept: "application/json"
                    }                   
                }
            }
            ,
            pageSize: 12
        });

        $("#listView").kendoListView({
            dataSource: sharedDataSource,
            template: "<li>${Title}</li>"
        });
    });
</script>
David
Top achievements
Rank 1
 answered on 06 Dec 2012
2 answers
54 views
when we set kendo.ns= "k" , grid sort can not work
because kendo.sortable.js used "FIELD = 'data-field' " to get sort field
must fix to use kendo.attr("field")
Daniel
Telerik team
 answered on 06 Dec 2012
1 answer
116 views
I am using a Scatter Line to display a bunch of points.  The format coming to me is TimeSpan/double so my JS data currently looks like this: 
[["00:02:25", 8.5], ["00:03:06", 9.4]]
How would I plot this? It doesn't plot correctly right now because the X-axis is a string.  Do I need to translate the time to a Date object? (that doesn't feel right, since I don't know the day)  Or do I need to translate this to seconds/minutes/ect?  

Any thoughts?
Brian
Hristo Germanov
Telerik team
 answered on 06 Dec 2012
1 answer
46 views
<link   rel="stylesheet" href="css/kendo.common.min.css">
<link   rel="stylesheet" href="css/kendo.default.min.css">
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/kendo.web.min.js"></script>


Uncaught TypeError: Object function (a,b){return new c.fn.init(a,b)} has no method 'sub' v.2012.3.1114



kendo.web.min.js:12
kendo.web.min.js:12
kendo.web.min.js:12
Phil
Top achievements
Rank 1
 answered on 06 Dec 2012
0 answers
87 views
Hello!
1 . where to find documentation on integration Kendo and Sitefinity 
2 . how to combine on one page of a site Kendo and RadControls

Thanks,
Vlad
Владислав
Top achievements
Rank 1
 asked on 06 Dec 2012
2 answers
444 views
After a lot of searching for a clean way to convey errors to the user from a grid database operation I found the following suggestion:
return new HttpStatusCodeResult(int, string)
This worked really well and allowed me to trap Exceptions and then turn them into more user friendly responses. In one case I simply passed on the Exception.Message as the string. But when I tested it by forcing a SQL Error, it didn't work. After hours of experimenting, I eventually found that if the string contained CRLF sequences this meant it was not handled properly by the OnError script on the browser. I fixed this by doing something similar to:
catch (Exception e)
{
    return new HttpStatusCodeResult(550, e.Message.Replace("\r\n", "<br />"));
}
In other words I replaced all the CRLF sequences by br html elements.This works, but it seems to me this is very fragile. So my questions are:
  1. Is the error with the ASP.Net code or with the Keno UI code?
  2. If I have missed some fine print somewhere what generalized steps can I take to ensure this works in all cases?
Many thanks
Martin
Top achievements
Rank 1
 answered on 05 Dec 2012
5 answers
237 views

Hi There,

I have implemented a batch editing grid which populates correctly and allows me to edit rows, but when I hit "save changes" the changes are only saved in the grid, they're not being posted back to the database.

Can you please have a look at my code and let me know why this is not happening and how I can fix this. Attached is the files related to this control.

Many Thanks,
Staci

Luis Ernesto
Top achievements
Rank 1
 answered on 05 Dec 2012
4 answers
269 views
I have a table with just a couple of properties.  One in a simple string, the other is the hex value for a color.
I found a javascript color picker library (http://jscolor.com/ )
that seems to work great, but I am having issues trying to get it to work as a custom editor inside a Kendo Grid.
I have put up a fiddle with the same problem at http://jsfiddle.net/giltnerj0/xZv64/ ( I placed a color picker outside the grid to show what it is supposed to do).
I would love to be able to use this jscolor library with my kendo grid.

Thanks.
Robin
Top achievements
Rank 1
 answered on 05 Dec 2012
1 answer
131 views
Is there any plan to support mask edit control (eg. ssn, phone etc). If so, when we can expect.
Dimo
Telerik team
 answered on 05 Dec 2012
9 answers
1.5K+ views
How do I clear/remove all nodes from a tree view?
Alexander Valchev
Telerik team
 answered on 05 Dec 2012
Narrow your results
Selected tags
Tags
Grid
General Discussions
Charts
Data Source
Scheduler
DropDownList
TreeView
MVVM
Editor
Window
Date/Time Pickers
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)
SPA
Filter
Drawing API
Drawer (Mobile)
Globalization
Gauges
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
OrgChart
TextBox
Effects
Accessibility
ScrollView
PivotGridV2
BulletChart
Licensing
QRCode
ResponsivePanel
Switch
Wizard
CheckBoxGroup
TextArea
Barcode
Collapsible
Localization
MultiViewCalendar
Touch
Breadcrumb
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
Popover
DockManager
FloatingActionButton
TaskBoard
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
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?