Telerik Forums
Kendo UI for jQuery Forum
2 answers
349 views
I have this HTML:
<select data-role="dropdownlist", data-bind="value: xxx", data-text-field="field1", data-value-field="field2", data-source='{"transport":{"read":"my-url"}}' />
Then I bind this template.
But the data-source is not used.

Found an issue in the function kendo.initWidget.
Inside that function there is the code:

if (dataSource) {
     options[
"dataSource"] =
window[dataSource];
}

dataSource does here indeed have the transport object I defined in the attributes. But window[dataSource] is undefined.
Seems to me that this line of code must be:

if (dataSource) {
     options[
"dataSource"] = dataSource;
}

When I change it this way, the dropdownlist works!
So not sure if this is a bug or that I am doing something wrong.

Regards, Jaap
Jaap
Top achievements
Rank 2
 answered on 26 Mar 2012
4 answers
107 views
Hi team,

I attended the webinar yesterday and today I started testing things out.

I followed all the steps and created tabstrip.

With 3 html pages.

Clicking on tabstrips pointing to html page is not working. Link is getting created like account.html/#account.html and it is not working.

R u going to load the demo you shown somewhere so that we can match code and see what we are doing wrong.
Petyo
Telerik team
 answered on 26 Mar 2012
6 answers
1.0K+ views
Hello,
How do I center the draggable to the mouse pointer?
Petyo
Telerik team
 answered on 26 Mar 2012
2 answers
103 views
Hi, 
 I have too much data to display all label (100 Records) so I need to show some label, please tell me how to.

   such as

data [
{
d1 = "00"
value = 90
}, {
...
}, {
dn = "99"
value = 23
}
}

show only dx%5 == 0 or something like this

Thank you, ^ ^
Sorry for my english
Tanawatra
Top achievements
Rank 1
 answered on 26 Mar 2012
1 answer
136 views
Hi,

I used the this article (http://www.adobe.com/devnet/html5/articles/getting-started-with-phonegap-in-eclipse-for-android.html) to
build my Kendo Mobile Application. 

The Applications is working Ok as a Web Application but the Phonegap version has a problem. It works ok but when I turn the tablet to landscape the application crashes.

Is there any known issue about this ???

Thanks in advance
mvbaffa
Top achievements
Rank 1
 answered on 26 Mar 2012
4 answers
609 views
I have a JSON object that is returned from the WS which will have a sample of below:
 
{
    "MenuID": 5,
    "MenuVersion": 1,
    "MenuName": "Lunch Menu",
    "MenuItems": [
        {
        "Name": "TUSCANI MEDITERRANEAN CON POLLO",
        "Description": "Pasta",
        "PKID": 2,
        "ParentID": 1,
        "Ingredients": [
            {
            "PKID": 123,
            "IngName": "Cheese",
            "Included": true,
            "ExtraPrice": 0},
        {
            "PKID": 124,
            "IngName": "Sausage",
            "Included": false,
            "ExtraPrice": 0.99}
        ],
        "ItemPricing": [
            {
            "PKID": 456,
            "SizeName": "Large",
            "SizePrice": 12.99},
           {
            "PKID": 678,
            "SizeName": "Small",
            "SizePrice": 14.99}
        ]}
    ]
}​ 

Are there any examples on how to work with complex objects like these. (Loop through the Menu items in this example and being able to display required info.) . I need to dynamically display the prices or ingredients to the user based on what is selected.  I will be having more than one Menu Item to work with.

Thanks,
Chandu
Andre
Top achievements
Rank 1
 answered on 25 Mar 2012
1 answer
150 views
And disappear from original position?
And then move it inside the target from one spot to another?
Tim
Top achievements
Rank 1
 answered on 25 Mar 2012
0 answers
77 views
http://www.kendoui.com/documentation/framework/draganddrop/overview.aspx

In the above link, the "Drag" and "Drag Axis" examples use a lowercase "kendo" when I think they should be using a capitalized "Kendo".
Tim
Top achievements
Rank 1
 asked on 25 Mar 2012
1 answer
52 views

var productviewed = function(view) {
    alert("viewed");
};
$(document).ready(function() {
    $("#autoloan").bind("show", productviewed);
});

<div data-role="view" id="autoloan" data-title="Auto Loan" data-transition="slide" data-layout="message" >
...
</div>

I'm trying to hook to the show event of the view by doing the above. However the alert dialog seems to never get called.
Have I done something incorrectly? 

Ronald
Top achievements
Rank 1
 answered on 24 Mar 2012
2 answers
110 views
Hi,

How can I create a View dinamically, that is programatically ???

Should I use jQuery to insert in the DOM a Div with a data-role="View" ???

Thanks in advance
mvbaffa
Top achievements
Rank 1
 answered on 24 Mar 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
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
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?