Telerik Forums
Kendo UI for jQuery Forum
3 answers
123 views
We are trying to group some data for display using a Column chart. This works fine in IE, Safari etc, but when viewing in Chrome the data is mixed up, with values not falling into the correct groups. Removing the grouping shows that the data being handled is exactly the same in all browsers. Has anybody else come across this issue, and if so are there any known workarounds?

For info, the function in which grouping takes place is as follows:

function ajaxCallColumn(div, hier, dsField, stck, catAxisField, filter, srsClk, data) {
    $.ajax({
        url: '/api/Chart/',
        cache: false,
        type: 'POST',
        contentType: 'application/json; charset=utf-8',
        data: JSON.stringify(data),
        success: function (result) {
 
            $(div).kendoChart({
                dataSource: {
                    data: result,
                    group: {
                        field: dsField
                    },
                    filter: { field: "Category", operator: "neq", value: categorySwitch }
                },
                chartArea: {
                    background: "transparent"
                },
                title: {
                    text: result[0]["TableCaption"]
                },
                seriesColors: ["#007c85", "#f3901d", "#b2bb1e", "#a40046",
                            "#00aeef", "#ffcc00", "#5f6062", "#25567b", "#ccccff",
                            "#380470", "#6FFF00", "#9000FF"],
                legend: {
                    visible: true
                },
                series: [{
                    type: "column",
                    field: "Value",
                    tooltip:{
                        visible: true,
                        template: "#= series.name # - #= value #"
                    }
                }],
                seriesClick: srsClk,
                categoryAxis: {
                    field: catAxisField,
                    labels: {
                        rotation: 90
                    }
                }
            });
        },
        error: function (result) {
            if (result.status != 401) {
                alert(result.status + " " + result.statusText);
            }
        },
        statusCode: {
            401: function (jqXHR, textStatus, errorThrown) {
                self.location = '/Account/Login/';
            }
        }
    });
}
T. Tsonev
Telerik team
 answered on 15 Apr 2013
3 answers
582 views
I am trying to use a Kendo Dropdownlist that uses a template.  I have a page where a user can select a dataset and that dataset with populate dropdowns with values.  Most of my dropdowns do not use templates however the one that isnt working properly is using templates.

My template:

<script type="text/x-kendo-tmpl" id="dropdownTemplate">
<div>
<p><strong>#= Name #</strong></p>
<p>#= Description #</p>
</div>
</script>

My dropdown definition:

$("#listTemplates").kendoDropDownList({
dataTextField: "Name",
dataValueField: "ChartTemplateId",
template: kendo.template($("#dropdownTemplate").html()),
change: listTemplatesChange
});

How I am populating my dropdown:
portalTemplatesModel = [
[{
Name: "Test",
Description: "Long Description",
ChartTemplateId: "1"
}],
[{
Name: "Test2",
Description: "Long Description2",
ChartTemplateId: "2"
}]
]
 for (i = 0; i < portalTemplatesModel.length; i++) {
debugger;
$("#listTemplates").data("kendoDropDownList").dataSource.add(portalTemplatesModel[i]);
}

My setter:

var ddTemplates = $("#listTemplates").data("kendoDropDownList");
ddTemplates.select(function (dataItem) {
debugger;
return dataItem.value === placeHolderChart.ChartTemplateId;
});

dataItem looks like the following:
[{
Name: "Test",
Description: "Long Description",
ChartTemplateId: "1"
}]

I noticed in the setter documentation you are supposed to use either value or item.  However, with the dataset that I am using it seems to use a different object that does not contain value or text like the other dropdowns that dont use templates have.

Thank you in advance!
Alexander Valchev
Telerik team
 answered on 15 Apr 2013
1 answer
94 views
Does Kendo Ui Mobile support this number notification? Like in the picture..
Kamen Bundev
Telerik team
 answered on 15 Apr 2013
5 answers
101 views
The kendoui menu demos don't work properly in IE 10 on touch enabled device...When you move your finger over a menu...the menu expands but you cannot select a sub-menu.

The Same demo works in Google Chrome on the same touch enabled device.

Georgi Krustev
Telerik team
 answered on 15 Apr 2013
2 answers
254 views
Have attached the images of the strange behaviour of Date Picker in Different browser i.e chrome and mozilla.Why is this happening have used the same code as specified in the Demo of Kendo UI.
Sanket
Top achievements
Rank 1
 answered on 15 Apr 2013
1 answer
81 views
Kendo UI Version : kendoui.complete.2013.1.411
Test Browser : IE 10 (Browser mode IE7, Document mod IE7)
Kenudo UI example of kendoui.complete.2013.1.411.zip file

Test Page : examples/web/datepicker/index.html

IE Console Message : jquery.min.js, line 3 character 23238

choose date not selected!!
the calendar opens up but it does not selected.
Dimo
Telerik team
 answered on 15 Apr 2013
4 answers
80 views
We are using Kendo UI 2nd quarter 2012 with MVC 4 2010. Using Razor, in our Index.cshtml we define a date picker control. We found that if one launches the application in a browser window that is not maximized, then before doing anything else, maximizes the browser window, the date time picker control does not display the calandar when clicked. Any help on this would be appreciated. Thanks.
Dimo
Telerik team
 answered on 15 Apr 2013
3 answers
198 views
Hi!

My company will probably buy the Kendo UI Complete for ASP.NET MVC, but we would like to know if the Single Page Application feature is already stable to do development based on it...?

Another thing that we would like to know is if we can use SPA Kendo feature and Knockout (for data binding) together?  Or if it's possible to use Kendo MVVM pattern with another SPA template? (if yes, which one is recomended?)

Thanks!
mgs
Top achievements
Rank 1
 answered on 15 Apr 2013
0 answers
72 views
Find Solution by myself
Yun
Top achievements
Rank 1
 asked on 13 Apr 2013
1 answer
88 views
Hi,

In the spirit of the XY Problem, I have an immediate problem I need solving, and also a "How should this be done?" question.

I want to modify the "Basic usage" ListView Demo example [1].  I want to dynamically show or hide the pager based on whether or not there are actually pages to view.  I don't even think the solution I came up with will work in all situations, as it seems the pager doesn't refresh after the ajax success handler gets called.

I put together a JSFiddle that is the modification I want.  It works with jQuery 1.7.2 & 1.8.3 but bombs out with jQuery 1.9.1. My public JSFiddle is currently pointing to jQuery 1.7.2.  Below is the Google Chrome Version 25.0.1364.172 m error I get in jQuery 1.9.1:

Uncaught TypeError: Cannot read property 'msie' of undefined kendo.all.min.js:8(anonymous function)kendo.all.min.js:8(anonymous function)kendo.all.min.js:8Uncaught TypeError: undefined is not a function fiddle.jshell.net:82

In addition, when deploying this same example side-by-side with the latest Telerik WebForms RAD controls, WebResource.axd line 6 also gives a JavaScript error complaining about getBaseTypes().

I am new to Web development, but my understanding is jQuery has continuously slimmed down the core jQuery library and taken away features.  Could it be that Kendo UI Pager is implicitly relying on a jQuery feature that is no longer available?  Since Kendo UI is linked to jQuery 1.9.1, I am looking for a solution from Telerik that doesn't involve upgrading jQuery.

Broadly, dynamically showing/hiding the pager seems like a basic feature that should be there, since the RadGrid supports dynamically showing/hiding the pager.

OS Version: Microsoft Windows 7 Professional
Browser Version: Google Chrome Version 25.0.1364.172 m
jQuery Version: 1.9.1
KendoUI Trial Version: kendoui.aspnetmvc.2013.1.319.trial.zip

[1] http://demos.kendoui.com/web/listview/index.html
[2] http://jsfiddle.net/johnzabroski/jf6cu/4/
Daniel
Telerik team
 answered on 12 Apr 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
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
MultiColumnComboBox
Dialog
Chat
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Effects
Accessibility
PivotGridV2
ScrollView
BulletChart
Licensing
QRCode
ResponsivePanel
Switch
Wizard
CheckBoxGroup
TextArea
Barcode
Breadcrumb
Collapsible
Localization
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
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?