Telerik Forums
Kendo UI for jQuery Forum
0 answers
96 views
I can bind data to kendo ui combobox but I don't know how to get datavaluefield when form submit, someone help me please or if you know tutorials please tell me.

Thank you for reading my topic
Quang
Top achievements
Rank 1
 asked on 25 May 2012
0 answers
441 views
Following is my header for a view and what I want to achieve is to when I click on the 'but_add_to_favorites' button, the button changes its data-icon (initially set to 'favorites'), say, to 'trash'. 


<div data-role="view" id="business_info" data-title="Business" data-show="BusinessInfo_Init" data-layout="mainLayout">
        <header data-role="header">
            <div data-role="navbar" id="business_navbar">
                <a class="nav-button" data-align="left" data-role="backbutton">Back</a>
                <span data-role="view-title">Business</span>
                <a id="btn_add_to_favorites" data-role="button" data-align="right" data-icon="favorites" onclick="favorites_clicked()"></a>
            </div>
        </header>
....
....

function favorites_clicked() {
            alert('hm');
            $("#btn_add_to_favorites").attr("data-icon", "trash");

as it shown me the 'hm' alert, this fires ok but nothing happens with my attempt to change the data-icon attribute to 'trash'.

Any guidance would be much appreciated.

Thanks,

John C 
Joon
Top achievements
Rank 1
 asked on 25 May 2012
0 answers
91 views
When testing my app in the Blackberry Bold (9780) I discovered I was unable to scoll down beyond the displayed content and also that clickable items such as list view items or tabstrip items did not work.
This is also true in the mobile demos so I assume this is a general issue.
Does anyone know how to get kendo ui items working correctly in the Blackberry Bold?
steve matheson
Top achievements
Rank 2
 asked on 24 May 2012
0 answers
56 views
In the old version the e.target of the dragLeave event was the div I was leaving, in the new version the e.target is now the new div I enter...

Is this a bug or a normal update?
Stephane
Top achievements
Rank 1
 asked on 24 May 2012
0 answers
219 views
We have a situation where we've bound our view (HTML page) to our ViewModel. There is a grid in our view that is being populated, however it's visibility is bound to a function on our ViewModel called 'isListEmpty'. It appears that this function is being checked by the view at binding time (when the list is empty), but after we've refreshed our observable array, and the grid populates itself with data, the isListEmpty() function is never checked by the view, and thus the grid remains hidden. Is there a way to poke the View from the ViewModel such that it refreshes some or all of its values that are bound to the ViewModel?
Benjamin
Top achievements
Rank 1
 asked on 24 May 2012
0 answers
125 views
I am useing Kendo Grid With Json datasource.and i enabled "serverPaging: true,";
I use this code in my server to handel the paging :


var take = Convert.ToInt32(context.Request.QueryString["take"]);
var skip = Convert.ToInt32(context.Request.QueryString["skip"]);
var page = Convert.ToInt32(context.Request.QueryString["page"]);
var pageSize = Convert.ToInt32(context.Request.QueryString["pageSize"]);

json = jss.Serialize(query.Skip(skip * pageSize).Take(take).ToList()).ToString();


and finally return the Json.

but now the Grid paging  only show me one page but i should to have 7 page.how can i defind the number off the page for my grid.
mahdi
Top achievements
Rank 1
 asked on 24 May 2012
2 answers
1.6K+ views
Hi,

Is there a way to define dataTextField to be a template? Perhaps it may be a good idea to define two new properties displayTemplate and valueTemplate to make control more flexible and customizable on client side.
Jerry T.
Top achievements
Rank 1
 answered on 24 May 2012
0 answers
94 views
I would like to validate drag/drop as the user moves a node over other tree nodes.
I have the following source:

        $("#treeView").kendoTreeView({
            dragAndDrop: true,
            .......
        }).bind("drag", function(e) {
            var node = $(e.dropTarget).closest(".k-item");

            // Only care if we are dragging to a treeviewitem
            if (!(node.length && node.parents(".k-treeview").length)) return;

            var targetId = $(node).find('.data-id').val();
            if(targetId != 'Testing")
                 // TODO: Mark dragging as invalid?
        });

But i'm not show how to mark the drag as invalid? Am I going about this the correct way?
Kyle
Top achievements
Rank 1
 asked on 24 May 2012
0 answers
102 views
Can we get a resize to content method on a pane?
sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
 asked on 24 May 2012
1 answer
123 views
I am placing the first row of my datagrid into Edit Mode using grid.editRow(). Everything renders fine, but when I click outside of the grid, I get a jscript error in the kendo.all.min.js at method: _cellTempl() because the first parameter is undefined.
Atanas Korchev
Telerik team
 answered on 24 May 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
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
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
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?