Telerik Forums
Kendo UI for jQuery Forum
1 answer
98 views
I was wondering if there was a page that has the API reference for Kendo Mobile like there is for other telerik products?
Petyo
Telerik team
 answered on 10 Apr 2012
1 answer
147 views
Hi,

I was trying to draw a pie chart which might container just one category, but with some specific value of that category, the pie chart does not display.

e.g. When I have this

series: [{
type: "pie",
data: [ {
category: "Hydro",
value: 312
} ]
}]


It still shows the label but not the pie chart. If I change the value to 78, 156, 312... or 80.5, 161, 321, 322... and it stays the same.

Does anyone know how to fix this problem?

Thanks a lot in advance!
Hristo Germanov
Telerik team
 answered on 10 Apr 2012
2 answers
86 views
I have this code in the datasource initiliation:
new kendo.data.DataSource({
                        type: "odata",
                        transport: {
                            read: {
                                url: crudServiceBaseUrl + "/GetBrokersFromEvent()",
                                dataType: "jsonp",
                                data: {
                                    id: $("#input").data("kendoComboBox").value(),
                                    userid: e.data.adres
                                }
                            },
                            update: {
                                url: function(data) {
                                    return crudServiceBaseUrl + "/Brokers(" + data.ID + ")";
                                }

                            }
                            ,
                            create: {
                                url: crudServiceBaseUrl + "/Brokers"
                            },
                            destroy: {
                                url: function (data) {
                                    return crudServiceBaseUrl + "/Brokers(" + data.ID + ")";

                                }

                            }
                        }

The functions won't be exe"cuted, but instead they will ben pasted in the request url????

fiddler:
GET http://localhost/Admin/function%20(data)%20%7B%20%20%20%20return%20crudServiceBaseUrl%20+%20%22/Brokers(%22%20+%20data.ID%20+%20%22)%22;%7D?%24format=json&%24inlinecount=allpages&models%5B0%5D%5B__metadata%5D%5Buri%5D=http%3A%2F%2Flocalhost%2FAdmin%2FServices%2F%2FService.svc%2FBrokers(1916463)&models%5B0%5D%5B__metadata%5D%5Btype%5D...

What is going on?
Eel
Top achievements
Rank 1
 answered on 10 Apr 2012
2 answers
283 views
Hello,

I have a sortable grid that's bound to a kendo dataSource with the following transport configuration:
transport: {
   read: {
      url: "http://localhost/myJsonService",
      dataType: "json",
   },
   parameterMap: kendo.data.transports.odata.parameterMap
}

Everything works fine when I'm sorting a column in ascending/descending order, but when I click on the column the third time (to disable sorting), the URL sent out towards the server is malformed : ...?%24format=json&%24inlinecount=allpages&%24top=5&%24orderby= which causes the server to fail.
This seems to be caused by the orderby= still being present, even though no sorting is applied. Is there any way of bypassing this without having to modify the sort function given in line 1542 of the unminified kendo.all.min.js not to assign the $orderby property when no actual data is present?
Szilard
Top achievements
Rank 1
 answered on 10 Apr 2012
1 answer
149 views

Working on a basic application that recieves some records from a database which contain audio files. We've had the ability to display the records in a list view and we were able to include a Jplayer at the bottom (as a footer) playing a local music file. Is there a possibility of including the JPlayer inside of a template like so...

<script type="text/x-kendo-template" id="template">
<strong>${data.StartTime}</strong>
<strong>"Hello World"</strong>
<!-- JPlayer here -->
</script>

The JPlayer is simply a div tag with a function that is called upon document being ready...

<div id="jquery_jplayer_1" class="jp-jplayer"></div>
<div class="jp-audio-container">
<div class="jp-audio">
<div class="jp-type-single">
<div id="jp_interface_1" class="jp-interface">
<ul class="jp-controls">
<li><a href="#" class="jp-play" tabindex="1">play</a></li>
<li><a href="#" class="jp-pause" tabindex="1">pause</a></li>
<li><a href="#" class="jp-mute" tabindex="1">mute</a></li>
<li><a href="#" class="jp-unmute" tabindex="1">unmute</a></li>
</ul>
<div class="jp-progress-container">
<div class="jp-progress">
<div class="jp-seek-bar">
<div class="jp-play-bar"></div>
</div>
</div>
<div class="jp-volume-bar-container">
<div class="jp-volume-bar">
<div class="jp-volume-bar-value"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>

I know this is alot of code...just fairly lost on the subject of templates and how they work.

Alexander Valchev
Telerik team
 answered on 10 Apr 2012
0 answers
169 views
Dear kendos,

I am using kendo for charts. but i get some problem about how to integrate charts with PHP and mySQL. i want to generate charts. the data come from MySQL and need to process it with PHP and then i want to display it in any simple chart.

I have data of student name and marks.

please tell me what to do. i also try json data with php but no success 

Regards,
Sudeep Parchure
Sudeep
Top achievements
Rank 1
 asked on 10 Apr 2012
3 answers
116 views
This only happens in IE(9) for me, the other browsers seem okay...any ideas?

http://screencast.com/t/uzdXyTuHM6
Georgi Tunev
Telerik team
 answered on 10 Apr 2012
1 answer
204 views
When an element with a data-role and data-binding is rebinded, I get an error in binders.widget.events.destroy.
There is the line:

this.element.unbind(handler, this.handlers[handler]);

This should be:

this.widget.unbind(handler, this.handlers[handler]);

Regards, Jaap
Atanas Korchev
Telerik team
 answered on 10 Apr 2012
8 answers
510 views
I have an existing website which I edit using Expression Web 4 (template of the website wasdownloaded).
I want to replace the standard (basic) menu with the Kendo Menu. The Kendo Menu is working but I can't get it positioned in the same spot as the original menu.
The style of the original menu was:
#hmenu {
    float:right;
    margin-top: 38px;
    text-align: right;
    margin-right: 20px;
}

This positions the menu to the right hand side and near the top.
I replaced it with the Kendo Menu and am still using hmenu as the id for the div that holds the menu and inserted some inline style as well but the Kendo Menu is displayed lower and on the left-hand side.
<div id="hmenu">
    <ul id="k-menu" class="k-content" style="float:right; margin-top:38px; margin-right:20px">
        <li><a href="index.html">Home</a></li>
        <li>Products
            <ul>
                <li><a href="products.html">Products</a>

Any ideas/tips?
thanks
Ronald
Ronald
Top achievements
Rank 1
 answered on 10 Apr 2012
1 answer
178 views
I'm not English language user. so I must custom the command text to my culture language.
When define a command column include command such as "edit", I can custom  "edit" command text.
but when click "edit" button into inline-editing mode ,How can I custom command text such as "update"and "cancel"? 
Is there a easy way to custom it?
Iliana Dyankova
Telerik team
 answered on 10 Apr 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?