Telerik Forums
Kendo UI for jQuery Forum
5 answers
632 views
JS Fiddle example: http://jsfiddle.net/codyinman/JKV49/37/

There are 2 axis values for the number "2" on the Y-Axis. Is there something in the code causing this or this a bug in Kendo UI?
Sitefinity
Top achievements
Rank 1
 answered on 20 Jun 2012
2 answers
158 views
I am trying to get a required field validator working with a grid dropdown.  I cannot get the error message to show.  Has anyone done something like this?  Here is an code example of how I defined the field in my datasource model.

DestinationCountry: {
  defaultValue:{Name: "", CountryId: null},
   validation: {
                     custom: function(input) {
                                 // set the custom message
                                 var boundTo = input.data("bind");
 
                                 if (typeof boundTo != "undefined" && boundTo == "value: DestinationCountry"){
                                    input.attr("data-custom-msg", "Please select Country");
                                    var isValid = (input.val() != "" && input.val() > 0);
                                    if (!isValid){
                                        alert("Please select Country");
                                    }
                                    return isValid;
                                 } else {
                                    return true;
                                 }
                                }}}
Curt
Top achievements
Rank 1
 answered on 20 Jun 2012
1 answer
129 views
There is some interesting behavior I have noticed.  You can see this in the demo.
http://demos.kendoui.com/web/grid/editing-inline.html

If I edit the first row, changing the Unit price to 20 and then click add record.  It appears that my changes were saved. They are not, the save event is never fired.  Is there a way to actually save these changes if the row is valid?

If I edit the first row, changing the unit price to 20 then click the edit button for the second row, the first row unit price reverts to 18.  It seems odd that these behaviors are inconsistent.  Again, if the first row is valid, can these changes be saved when I click "edit" on the second row?  How would I accomplish this?

thanks,
Curt
Curt
Top achievements
Rank 1
 answered on 20 Jun 2012
8 answers
1.3K+ views
I am new to using the Kendo UI suite of products, and am going crazy trying to pass  a parameter to my c# webmethod.  I have everything up and running when I don't use the paramter, and data pulls, saves, etc. just fine.  But, when I try to pass the parameter, I get the error: 

Invalid web service call, missing value for parameter: \u0027ageGroupID\u0027.

The relevant code is below.  Note that this is just the most recent iteration of the code, as I have tried a lot of different ways to get this working, based on the information found in this forum, and elsewhere.

I have set the variable many different ways.  The most recent was to pretty much set the json, but I have tried just setting the value I am passing, then setting the full json in the data: statement.

var miniMiteAgeID = { 'ageGroupID': "11" };

Here is my read statement:

read: {
                    url: "AssociationStats.aspx/getPlayerInfo", //specify the URL which data should return the records. This is the Read method of the Products.asmx service.
                    contentType: "application/json; charset=utf-8", // tells the web method to serialize JSON
                    dataType: "json",
                    data: JSON.stringify(miniMiteAgeID),
                    type: "POST" //use HTTP POST request as the default GET is not allowed for web methods
 
                },

My webmethod is below...

[WebMethod]
public static IEnumerable<teamPlayers> getPlayerInfo(string ageGroupID)
{
 
  //Do a bunch of stuff
 
}

Any help or suggestions you might have would be greatly appreciated.  I am at my wits end.

Thanks,

Scott
Scott
Top achievements
Rank 1
 answered on 20 Jun 2012
1 answer
222 views
Hi,

I have a Grid with Customer - Order datas. In my datasource model there are customer name and customer id. In the grid there is only the customer name visible.
When I'm editing the row, the Customer name is a DropDownList, with custom Customer datasource (name, id).

So how can I make that, when I change the Customer name in the grid, it sholud change the customer id too in the customerorder datasource? Now my program is working, but when I change Customer with dropdown, in the model its change only the customer name.

I hope I was clear?

I think I should use the DropDownList's change event. How can I get the current datasource item's id field, and update this id to the parent datasource customer id?

function dolgozoDropDownEditor(container, options) {
    $('<input data-text-field="nev" data-value-field="nev" data-bind="value:' + options.field + '"/>')
        .appendTo(container)
        .kendoDropDownList({
            autoBind: false,
            dataSource: dolgozodata,
            change: function () {
                options.model.dszam = 100; // Here I need this.dataitem.id or something like this
            }
        });
}


Please advice,
Lajos
martonx
Top achievements
Rank 1
 answered on 20 Jun 2012
1 answer
61 views
Consider the fiddle at:

http://jsfiddle.net/vapKb/42/ 

If you console the network activity which this code runs you can see two things:
1) type is ignored. it always makes a GET requests
2) data is ignored. It doesn't get sent (regardless of type)

I've tried this and variations on all weekly builds since 322 and the behaviour is the same. For clarification in v 322 everything works ok however I really need the various other enhancements and fixes that are in later releases.

Is this a bug or has the configuration requirement changed?

Thanks,

Mark.
Alex Gyoshev
Telerik team
 answered on 20 Jun 2012
0 answers
63 views
Hi All,

I have a requirement, that by using combo box i need to create drill down sub menus(menu under another menu). is kendo ui "combo box" supports this feature.
If possible how can i achive it (any reference doc/url)..

example is shown in attached image.

Thanks,
Praneeth.
Pra
Top achievements
Rank 1
 asked on 20 Jun 2012
1 answer
133 views
I'm testing KendoUI for a BlackBerry app and ran into some trouble with the navbar, the title never shows up in the navbar (and if there isn't a button in the navbar that won't show up), how can I make the navbar and title always show on BB?

Thanks,
JT
Kamen Bundev
Telerik team
 answered on 20 Jun 2012
0 answers
56 views
Editor doesn't work on my android 4.0 tablet. Opera, dolphin, firefox, native navigator...
I just see the HTML in a textarea
David Laredo
Top achievements
Rank 1
 asked on 20 Jun 2012
0 answers
215 views
Hello everybody,

I´m from Germany and I use der de_DE culture format on my kendo system.
I get the data from a remote data object.

I have no problems filtering dates.
But when i try to filter dates on the server filtered dates wont be recognized.

This ist how the URL should look like when i´m filter for the 21.12.2012 (german date format)
http://.../kendo.php?filter[filters][0][field]=Bestelldatum&filter[filters][0][operator]=eq&filter[filters][0][value]=21.12.2012&filter[logic]=and

but when i filter it looks like this:
http://.../kendo.php?filter[filters][0][field]=Bestelldatum&filter[filters][0][operator]=eq&filter[logic]=and

Where is the fault?

Greetings
Stefan

Here is the Code i Use:

<script src="js/jquery.min.js"></script>
    <script src="js/kendo.web.min.js"></script>
    <script src="js/console.js"></script>
    <script src="js/kendo.culture.de-DE.js"></script>

<script>
        kendo.culture("de-DE");
        
        $(document).ready(function() {
              
            dataSource = new kendo.data.DataSource({
                
                transport: {
                    read:  {
                        url: "../kendo.php",
                        type: "GET",
                    },
                },
                
                schema: {
                    data: function(result) {     
                      return result.data || result;
                    },
                    total: function(result) {
                        var data = this.data(result);
                        return data ? data.length : 0;
                    },
                    model: {
                        id: "Kennung",
                        fields: {
                            Kennung: { type: "string" },
                            Bestelldatum: { type: "date"},
                        }
                    
                    }
                },
                pageSize: 10,
                serverFiltering: true,
            });
        
            $("#grid").kendoGrid({
                pageable: true,
                dataSource: dataSource,
                groupable: true,
                scrollable: false,
                sortable: true,
                filterable: true,
                resizable: true,
                reorderable: true,
                
                columns: [
                
                    {
                        field: "Kennung"
                    },
                    {
                        field: "Bestelldatum",
                        title: "Bestelldatum",
                        format: "{0:dd.MM.yyyy}",
                    }
                
                ]
            });           
            
        });
    </script>

Here is a Screenshot:

Stefan
Top achievements
Rank 1
 asked on 20 Jun 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?