Telerik Forums
Kendo UI for jQuery Forum
10 answers
338 views
How do I call an odata method?

This is what I need to call
http://odata.site.com/USDA.svc/GetNutritionalInfo?ndbno=1001&seq=107&servingsize=1

Works though fiddler, however the kendo DS is appending these $format=json&$inlinecount=allpages&$callback=callback which is throwing a error 400 bad request.

Looks like if I remove this parameter fiddler, it returns the proper value
"$inlinecount=allpages"

How can I prevent that from being passed?
Courouble Damien
Top achievements
Rank 1
 answered on 17 May 2012
1 answer
138 views
When an update or a create is executed via the transport object, how do I get the HTML response from the server? 

update  URL:

var url = "/support/markasread/" + support_id + "/";

and this will respond with 0 or 1

create URL:

var url = "/support/newticketpost/";
 
this will respond with an ID of the newly create dticket.

How do I get this response HTML?
Lee
Top achievements
Rank 1
 answered on 17 May 2012
1 answer
196 views
Referencing this Fiddle.  Which is only a slight modification of this earlier question.

Overview:
  • Select box is bound to a datasource from the viewmodel.  
  • The datasource is dynamic (not static, but represented by a calculated field in the viewModel).
Expected Results:
  • Select control contents are dynamically populated with data source via the ViewModel method.
  • Selected Dropdown Value is bound to the appropriate viewModel field.
Actual Results:
  • Dropdown box contents are dynamically populated with data source via the ViewModel method. - CHECK
  • Binding to ViewModel for Dropdown 

Atanas Korchev
Telerik team
 answered on 17 May 2012
1 answer
430 views
Hello everyone,
I have the following code to create the table

<div id="grid"></div>
            <script>
                 
                $(document).ready(function() {
                    $("#grid").kendoGrid({
                        dataSource: {                           
                            transport: {
                                read: {
                                    url: "'.$url.'",
                                    type: "post",
                                    dataType: "json"
                                }
                            },
                            schema: {
                                model: {
                                    fields: {
                                    sel: {                   
                                     editable: false
                                     },
                                        CODE: { type: "string" },                                       
                                        TYPE: { type: "string" },
                                        CATEGORY_NAME: { type: "string" },
                                        ARTICLE_NAME: { type: "string" },
                                         
                                    }
                                }
                            },
                            pageSize: 60
                        },
                        
                         
                        height: 450,
                        scrollable: true,
                        groupable: true,
                        sortable: true,
                        filterable: true,
                        pageable: true,
                        selectable: "multiple row",
                         
                        columns: [{
                            field: "sel",
                            template: "#= kendo.toString(\'<input type=\"checkbox\" id=\"select\" value=\"CODE\"  />\') #",
                             filterable: false,
                             sortable: false,
                             width: 50
                            },
                            "CODE",
                            "TYPE",
                            "CATEGORY_NAME",
                            {
                                field:"ARTICLE_NAME",
                                filterable: true
                            }
                        ]
                    });
                });
            </script>



I would add a column with a checkbox to cancel multiple lines. As you see I added the input, but I can not enter into the record ID value. 

Thanks
Santosh
Top achievements
Rank 1
 answered on 17 May 2012
1 answer
95 views
I am seeing the Complete commercial package download, but not the commercial Web only download.  Am I missing something?  Is there a service pack available for Web only version?  If so, can you point me to it?  If not, can you advise on when will it be available?  

Thanks in advance,
Rik 
Sebastian
Telerik team
 answered on 17 May 2012
1 answer
138 views
How would one for instance set the combobox's maxLength property? (or any other properties on any of the widgets with the MVVM model without having to access the control in javascript?

thanks!
Atanas Korchev
Telerik team
 answered on 17 May 2012
1 answer
92 views
I am very new to Kendo, as I am evaluating it for adoption into our product.  I've created a plugin composite control that contains a combobox and was wondering how I can go about setting the width of the combobox within the plugin?
Troy
Top achievements
Rank 1
 answered on 16 May 2012
2 answers
574 views
Does anyone have some samples of how kendoWindow is supposed to be used/configured to display an ajax loaded content dialog box with inputs they need to be passed to the controlling code? For example, I am trying to bring up a dialog which accepts the username and password for an application. The calling module is actually a class, so visibility from within the content is not available from the content page. If the window is destroyed after the close is clicked, then the parent object can no longer see the content tags. What is the "right" way to do this.
Steven
Top achievements
Rank 1
 answered on 16 May 2012
1 answer
179 views
If i want to use my remote data for binding the grid, what is the schema format to be followed for getting the data.

1. what is type: "odata" ?
2. what is the procedure to be added for my operational contract to get the schema with supports remote data binding. 

 type: "odata",
     transport: {
                            read: "http://demos.kendoui.com/service/Northwind.svc/Orders"
                        },
Iliana Dyankova
Telerik team
 answered on 16 May 2012
1 answer
271 views
Is there a way to enable multi select without having to hold the ctrl key?

Thanks,
Joe
Iliana Dyankova
Telerik team
 answered on 16 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
MultiColumnComboBox
Chat
DateRangePicker
Dialog
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
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?