Telerik Forums
Kendo UI for jQuery Forum
0 answers
70 views
Those two methods would be very nice on any control. They would allow developers to simply enable or disable controls, or set them busy (maybe display a spinner on the control?).

I think this (those) features would be implemented quite simple and make a developers live considerably easier.

Thanks for your great work so far!
Daniel Probst
Top achievements
Rank 1
 asked on 04 Jan 2012
2 answers
108 views
When working on the grid tool for Kendo UI and ColdFusion it passes the paging and common request data as expected. There is other data that comes back as string values and it doesn't get broken up. Perhaps this is because the results are in brackets with text that should perhaps be in quotes. Has anyone had problems with this on other platforms?

method:  getRegistrations
take:  5
skip:  5
page:  2
pageSize:  5
sort[0][field]:  institution_main
sort[0][dir]:   desc
filter[filters][0][logic]:  or
filter[filters][0][filters][0][field]:  institution_main
filter[filters][0][filters][0][operator]:  eq
filter[filters][0][filters][0][value]:  2
filter[filters][0][filters][1][field]:  institution_main
filter[filters][0][filters][1][operator]:  eq
filter[filters][0][filters][1][value]:  4
filter[filters][1][field]:  institution_id
filter[filters][1][operator]:  contains
filter[filters][1][value]:  3
filter[logic]:  and

 As you can see most of the fields are properly formatted. The sort field just doesn't come over right. The filter fields get even worse.

It seems like this should be 
sort[0]['dir']:   desc 
vs
sort[0][dir]:   desc 

There is a great open source library that can process this if the field names in brackets are delivered in quotes.
John
Top achievements
Rank 1
 answered on 04 Jan 2012
0 answers
435 views
Hello,

I don't know where to start...

But I'll start here: 
I was following along on the Kendo UI Video you guys have about the Datasource video.
I managed to get the data from my SQL Server Database Service and populated the data in a Kendo UI Grid.

I have a splitter with a grid in the middle column.

I created the 2 forms on the left and the right columns for the Create and Edit Forms, respectively.

Whenever I enter the fields necessary for my create form, and I click my create button, nothing happens. Nothing shows up on fiddler, nor Chrome. But my field clearing and dataSource.read(); do work.

Here is my jQuery for the DataSource:

var payItems = kendo.data.Model.define({
  id: "PayItemID"
});
 
 
var dataSource = new kendo.data.DataSource({
  type: "odata",
  transport: {
    read: {
      url: URL,
      type: "GET"
    },
    create: {
      url: URL,
      type: "POST"
    },
    update: {
      type: "PUT"
    },
    destroy: {
      type: "DELETE"
    }
  },
  schema: {
    total: "count",
    model: payItems
  }
});  //end of dataSource var

I also have the update and destroy urls dynamically in the grid's change event.

this.dataSource.options.transport.update.url = URL + "(" + id + ")";
this.dataSource.options.transport.destroy.url = URL + "(" + id + ")";

Which doesn't work by the way. Whenever I click on my delete or update button, the url that gets used is the html's url.

Which then I went on to try the manual approach, I put in a specific item that I wanted to update. And when I click on my update button, my grid gets updated but my service does not. When I used fiddler, I noticed that my request header method is using "OPTIONS" instead of "PUT". The same for my delete button, the row on the grid disappears, but the request header method is using "OPTIONS" instead of "DELETE".

I was wondering if you guys could help me solve this, or direct me to a resource that has the functionality I need.

Please and thank you,

P


Pedro
Top achievements
Rank 2
 asked on 04 Jan 2012
3 answers
131 views
Hi, firstly thanks for this modern library.
I have a problem with kendoTabs. I download kendoUI and try examples inside the rar.
But tabs doesn't work with chrome lastest version(16.0.912.63 m). Firefox is just fine.
On the other hand, same example on the web demos works fine.
Is there any difference between local examples where I downlaoded and online examples.
I couldn't understand. 
Petyo
Telerik team
 answered on 04 Jan 2012
1 answer
91 views
I can't seem to set focus to a plain input control on the combo closed event

...only way I can get it to work is by putting in a timer...am I missing something?  When there's no timer the cursor stays IN the combo even though the .focus() code on the input is hit

http://jsfiddle.net/stevescotthome/aB7Yd/17/
Georgi Krustev
Telerik team
 answered on 04 Jan 2012
4 answers
265 views
Hi,

How can I add a header and/or footer on a pane without overflow ?

<div id="horizontal">
    <div>
      <h2>header here</h2>
  
      <!-- scroll only this part -->
      <p>left pane</p>
      <p>...</p><p>...</p><p>...</p><p>...</p><p>...</p><p>...</p>
      <!-- / scroll only this part -->
  
      <h2>footer here</h2>
    </div>
    <div>
      center pane
    </div>
    <div>
      east pane
    </div>
</div>

Regards,
René

obione
Top achievements
Rank 1
 answered on 04 Jan 2012
9 answers
1.6K+ views
I have a DropDownList with checkboxes. I want to keep the list open when the user checks a checkbox, and only close it when they click the document or the combo element itself. I can't seem to get the logic right. I have

       var consumers dataSource.get(id).data.Consumers;
           var dd $(this).kendoDropDownList({
               dataSourceconsumers,
               template$("#consumerTemplate").html(),
               closefunction(ee.preventDefault()},
           });     

<script id="consumerTemplate" type="text/x-kendo-tmpl">
    <input type="checkbox"
    name="${ data.Name }" 
    value="${ data.Name }" ${ data.IsSelected "checked" "" }  /><span style="padding-left: 10px;">${ data.Name }</span>

</script 

Can someone please advise on how to make this work?
Jeff
Top achievements
Rank 1
 answered on 04 Jan 2012
3 answers
116 views
User reporting when using chrome, when they go to a new page, then click back the kendo combo has the dataitems value in it instead of the text that was there.

http://www.screencast.com/t/dLA0WhfeDa
Georgi Krustev
Telerik team
 answered on 04 Jan 2012
5 answers
169 views
I am trying to think of a way to mimic .NET's master page concept in KendoUI.  

I want the ability to edit one page's HTML and it be reflected across the whole site.    If I change the site layout I don't want to have to do the same edit's over and over on every page.

Could this be done with templates somehow?


Dimo
Telerik team
 answered on 04 Jan 2012
1 answer
728 views
How do you return the region code ('en-US', 'fr-CA', etc.) that may have been previously set by using kendo.culture(region_code);
Georgi Krustev
Telerik team
 answered on 04 Jan 2012
Narrow your results
Selected tags
Tags
Grid
General Discussions
Charts
Data Source
Scheduler
DropDownList
TreeView
MVVM
Editor
Window
Date/Time Pickers
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)
SPA
Filter
Drawer (Mobile)
Drawing API
Globalization
Gauges
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
OrgChart
TextBox
Effects
Accessibility
ScrollView
PivotGridV2
BulletChart
Licensing
QRCode
ResponsivePanel
Switch
Wizard
CheckBoxGroup
TextArea
Barcode
Collapsible
Localization
MultiViewCalendar
Touch
Breadcrumb
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
Popover
DockManager
FloatingActionButton
TaskBoard
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
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?