Telerik Forums
Kendo UI for jQuery Forum
3 answers
92 views
Once a Theme is built in Theme Builder, is there any way to save it? 
Alexander Valchev
Telerik team
 answered on 09 May 2013
1 answer
130 views
I'm trying to use the mentioned kendo ui components together. I came across this sample in js fiddle, it works like a charm. But when I try to use the same code in my asp.net mvc project, my chart is not being rendered as expected.
Below you can find the code in my project:

@(Html.Kendo().TabStrip()
          .Name("tabstripChart")
          .Items(tabstrip =>
          {
              tabstrip.Add().Text("Chart")
                  .Selected(true)
                  .Content(
                    @<text>
                            <div id="symbolChart"
                                data-role="chart"
                                data-series="[{ field: 'Hours' }]"
                                data-category-axis="{ field: 'Label' }"
                                data-series-defaults="{ type: 'line' }"
                                data-bind="source: Activity">
                            </div>
                            <script type="text/javascript">
                                alert("hey");
                                var viewModel = kendo.observable({
                                    Activity: [
                                      { Label: "Jan", Hours: 10 },
                                      { Label: "Feb", Hours: 5 }
                                    ]
                                });
                                kendo.bind($("#symbolChart"), viewModel);
                            </script>
                    </text>
                  );
 
              tabstrip.Add().Text("Realtime Chart")
                  .Content(@<text></text>);
          })
    )
I'm not getting the expected result. Here I asked the same question on stackoverflow, there you can find the result screen shot. What am I doing wrong? 

Thanks,
Iliana Dyankova
Telerik team
 answered on 09 May 2013
4 answers
146 views
I can't seem to find any documentation regarding what .CSS files are required to get a custom theme working. If I just copy the .css from the theme-builder, the theme appears to break.

Do I also need to add common.min and default.min? I tried these but I don't want to add more .css that I don't need.

TIA
Ray
Top achievements
Rank 1
 answered on 09 May 2013
1 answer
131 views
Hi Admin,

By using, $("#grid.k-grid-pager a").hide();, I have hidden grid pager. If I want to show hidden pager again, how we can do that?
$("#grid.k-grid-pager a").show(); is not showing hidden pager? Immediate help would be appreciated.

Regards,
Partha.
Iliana Dyankova
Telerik team
 answered on 09 May 2013
1 answer
118 views
Hi!

We use the ActionSheet widget in a lot of views. The problem we have is that when a user clicks on a link in the ActionSheet (cancel for example), the click also goes through it and hits a list item under the ActionSheet - this results in two clicks and messes up the user experience.

This problem is particulary apparent on Android.

Any way to solve it?
Petyo
Telerik team
 answered on 09 May 2013
3 answers
413 views
Hi,

Is there any way to change the row template after the grid has been created on the page?  We want to provide different views of the grid (like small icons, large icons, etc) but we also need to be able to revert back to the standard template (i.e. no overriding template/Kendo creates the template).

Any ideas how we can do this please?
Alexander Valchev
Telerik team
 answered on 09 May 2013
2 answers
335 views
Hi,
I am using the Data Source object to connect to a SharePoint 2013 ODATA source using REST and then use this as the data for a Kendo UI Grid.
The Data Source reads the list correctly and populates the grid, but when I update an item in the Kendo UI Grid the following error is returned by the REST end point.

The property '__deferred' does not exist on type 'SP.SecurableObject'. Make sure to only use property names that are defined by the type.

This is caused by the Data Source returning all the properties from the initial read request and then returning in the update command. SharePoint returns __deferred properties with a REST url to defer loading, but is throwing a wobbly if they are returned back in an update command.
Below is my Data Source
01.var dataSource = new kendo.data.DataSource({
02.        type: "odata",
03.        transport: {
04.            read: {
05.                url: listUrl,
06.                type: "GET",
07.                dataType: "json",
08.                contentType: "application/json;odata=verbose",
09.                headers: {
10.                    "accept": "application/json;odata=verbose"
11.                }
12.            },
13.            create: {
14.                url: listUrl,
15.                type: "POST",
16.                dataType: "json",
17.                contentType: "application/json;odata=verbose",
18.                headers: {
19.                    "accept": "application/json;odata=verbose",
20.                    "X-RequestDigest": $("#__REQUESTDIGEST").val(),
21.                }
22.            },
23.            update: {
24.                url: function (data) {
25.                    return listUrl + "(" + data.ID + ")";
26.                },
27.                beforeSend: function (jqXhr, options) {
28. 
29.                    var data = JSON.parse(options.data);
30. 
31.                    jqXhr.setRequestHeader("If-Match", data.__metadata.etag);
32. 
33.                },
34.                type: "POST",
35.                dataType: "json",
36.                contentType: "application/json;odata=verbose",
37.                headers: {
38.                    "accept": "application/json;odata=verbose",
39.                    "X-RequestDigest": $("#__REQUESTDIGEST").val(),
40.                    "X-HTTP-Method": "MERGE"
41.                },
42.            },
43.            destroy: {
44.                url: function (data) {
45.                    return listUrl + "(" + data.ID + ")";
46.                },
47.                type: "DELETE",
48.                dataType: "json",
49.                contentType: "application/json;odata=verbose",
50.                headers: {
51.                    "accept": "application/json;odata=verbose",
52.                    "X-RequestDigest": $("#__REQUESTDIGEST").val(),
53.                    "X-HTTP-Method": "MERGE",
54.                    "If-Match": "*"
55.                }
56.            }
57.        },
58.        pageSize: 20,
59.        schema: {
60.            data: "d.results",
61.            model: {
62.                id: "ID",
63.                fields: {
64.                    ID: { editable: false, nullable: false },
65.                    Title: { validation: { required: true } },
66.                    Body1: { validation: { required: true } },
67.                    Votes: { type: "number", validation: { required: true, min: 1 } },
68.                }
69.            }
70.        }
71.    });
Any idea what I can do to only return the fields that are updateable.
Cheers
Alexander Valchev
Telerik team
 answered on 09 May 2013
1 answer
51 views
You have daily chart demo. Does it also support intraday (from 1 min, 5, ... to hours)
Iliana Dyankova
Telerik team
 answered on 09 May 2013
1 answer
313 views
We have a need to for decimal formatting with a minimum of 2 decimals and a maximum of 4. However there's a 'small' rounding bug.

This:
kendo.toString(1.23126, "#,##0.00##")

Returns:
1.2313
(as expected)

However, this:
kendo.toString(1.23125, "#,##0.00##")

Returns:
1.2312

Which is clearly not expected. Because when you do this:
kendo.toString(1.235, "#,##0.00")

It returns:
1.24

This was tested using Chrome 26.somthing :)
Georgi Krustev
Telerik team
 answered on 09 May 2013
1 answer
104 views
On Your Demo Page : http://demos.kendoui.com/web/upload/async.html

I try uploading a normal jpeg image and it just sits there a spins. Never Uploads the file.  It never even breaks on the success function or the error function. 

If i don't use asynchronous upload, it works.

All My IE10 settings security settings are turned down to medium.
My version is Windows 7  IE10 10.0.9200.16540

Works on every other browser and all older IE Versions. See screen grab  of what i am seeing.
T. Tsonev
Telerik team
 answered on 09 May 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?