Telerik Forums
Kendo UI for jQuery Forum
1 answer
400 views
How can I use a image instead of a text in a custom command button? and get a hint when a mouse
is hover de button?

tks
Carlos
Top achievements
Rank 1
 answered on 30 Jul 2012
3 answers
118 views
New user here trying to figure things out. I understand how remote views work, but I have a question. What happens if a user arrives at a secondary page without going home first? 

A user comes to our submission page via direct link on another site. They fill in the info, submit the form. Once our staff process the information they provided, they get an automated email response with a link that takes them directly to another page on the site (which requires a querystring parameter).

How do I make this work so that it doesn't matter which page they hit first? 

Also, is there a way to have a multi-select control where a user can select more than one option?
Petyo
Telerik team
 answered on 30 Jul 2012
2 answers
141 views
I am having some trouble setting the widths of KendoUi Widgets via either a css class or the style="width:  "

Below is a sample of some code from an MVC test project I am working. The date picker control is being rendered the entire width of the screen. The only way I can can get it to size correctly is by limiting the width of the parent element. Is this the the only way sizing of the widget can be controlled. Thanks.

<br><div><br>    <input id="dateTest" style="width: 200px" /></div><br>@Html.Telerik().ScriptRegistrar().OnDocumentReady(" $('#dateTest').kendoDatePicker();")


Greg Horvath
Top achievements
Rank 1
 answered on 30 Jul 2012
2 answers
139 views
Hi all,

I have a grid, loading remote data and grouped on a single field by default. 

Collapsing/reopening groups of data is not working, the icon changes but nothing happens. 
Column reordering is working in FireFox and Chrome, but not in IE. I can drag the column but dropping isn't allowed anywhere.

How do i debug the above issues? Where should i look? There are no javascript errors etc.

Regards,
Tycho
Tycho
Top achievements
Rank 1
 answered on 30 Jul 2012
9 answers
952 views
I have a table that has a foreign key to another table, and I would like to provide a dropdownlist as the editor for the foreign key field and then save the object back to the database using oData.
I can get the grid to create just fine, and CRUD operations work great on the main set of data.  
This leaves with me a couple of options.
I can simply bind the column to the foreign key field int field, and use a custom editor to create the dropdownlist to provide the id from the lookup table on, but leaves me displaying a simple int in the grid instead of a more meaningfull property of the lookup table.
Or I can use the $expand in the Read of the DataSource, include a field bound to the more meaningfull property, but can't get the editor to work quite right or the Update postback to work.

I have made some fiddles to try to show my point.
http://jsfiddle.net/giltnerj0/h4wx5/ 
http://jsfiddle.net/giltnerj0/h4wx5/1/ 
(These won't work for actual CRUD operations due to the JSONP from using demos.kendoui.com as the service)
Ambica
Top achievements
Rank 1
 answered on 30 Jul 2012
5 answers
1.2K+ views
what is the syntax to create this (wcf) oData query as a KendoDataSource.Transport:
var URL = DataServiceURL + "Customers()?$filter=startswith(CustomerName, '" + searchValue + "') eq true";
Thanks
Nikolay Rusev
Telerik team
 answered on 30 Jul 2012
1 answer
148 views
It have a problem with the toolbar icon it seem to have à probleme with the sprite.

See the screen shot for detail
Alex Gyoshev
Telerik team
 answered on 30 Jul 2012
0 answers
238 views
I made a 2-level hierarchy using html helper attached here. As I navigated though the second level child tables, some of them are not displaying any data at all. To reproduce this issue:
  1. Run the application
  2. Expand the first row and all its child tables including its 2nd level child tables
  3. Expand the second row (parent table) and then all its child tables
  4. As a result, the second row's 2nd level child tables don't display any record. 
But when I debug it, the controller returns the correct data. I have a thought that Kendo grid might just be confused where to populate data since my 2nd level child grids have duplicating names. And it seemed to be just navigating through the DOM to find the first matching grid name (as its only parameter basis). There are possibilities that grid name duplicates are being produced having only the ID value of the parent data as its signature. Or did I miss anything with my code?

How would I get the parent table ID (that is, the parent table of the 2nd level child grid == the first level child table) so that I can append it to the current child table ID like:

.Name("childGrid_#=ID#_" + parentTableID )

Is there any better way that you might suggest in preventing a duplicated grid name?
Any thoughts might be a great help.
Thanks in advance! 
Avitot
Top achievements
Rank 1
 asked on 30 Jul 2012
1 answer
116 views
In the documentation here:

http://docs.kendoui.com/api/framework/datasource 

You state under the transport.update section (and probably read, create and delete too) you state:

var dataSource = new kendo.data.DataSource({
    transport: {
        update: function(options) {
            // make AJAX request to the remote service
 
            $.ajax( {
                url: "/orders/update",
                data: options,
                success: function(result) {
                    // notify the DataSource that the operation is complete
 
                    options.success(result);
                }
            });
        }
    }
});

It should say "data: options.data," not "data: options,".


Atanas Korchev
Telerik team
 answered on 30 Jul 2012
0 answers
180 views
We have a scenario where we want to ease into Kendo UI, but have a project that needs to remain on ASP.NET 2.0 Web Forms for a good few months before upgrading (it will still be web forms for a while, before the MVC move).

Basically we need to have a Kendo UI grid initialized with seed data in the form of JSON and allow the user to perform Pop-up Inline Editing (like http://demos.kendoui.com/web/grid/editing-popup.html), but without saving that data back to the server after each edit.  

The user's need to have the ability to see their changes in the data immediately reflected in the grid, but we plan on trying to fit this into a post-back styled architecture by reading the JSON data from the datasource (after it's updated with changes from the user) and copying that to a hidden field which can by POSTed back to a form location (and later on we can change this action to send data to a web service).

Are there any examples of a Kendo UI Grid where the data is edited locally and read out into something (e.g. copied to another JavaScript variable or hidden form field) on item/row update without interacting with a service boundary?

It would greatly ease the decision if something similar or exactly this scenario could be posted/provided on this thread showing that Kendo UI can work with this.

Thanks!
jgill
Top achievements
Rank 1
 asked on 30 Jul 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
ScrollView
Switch
TextArea
BulletChart
Licensing
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
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
ContextMenu
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
DateTimePicker
RadialGauge
ArcGauge
AICodingAssistant
SegmentedControl
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?