Telerik Forums
Kendo UI for jQuery Forum
4 answers
329 views
I am not getting this error from the datasource ("No Transport") for the URL: http:/localhost:4326/mTypes (a local WCF service) on the same machine as the browser.

The data is in JSON format.

Chrome 19, FireFox 13 Do not throw this error.

IE is NOT in compatibility mode.
It is a 64 bit browser.

The e.ErrorThrown  is "No transport"

SearchData.dataSourceTemplate = {
    type:"json",
    transport:{
        read:{
            url:"http://localhost:4326/mTypes",
            dataType:"json"
        }
    },
    schema:{
        data:"results",
        total:"count"
    },
    error:function (e) {
        alert("Search.js datasource error: " +
            "\nthrew: " + e.errorThrown +
            "\nstatus: " + e.status +
            "\nurl: " + e.sender.transport.options.read.url);
    }
};



Dr.YSG
Top achievements
Rank 2
 answered on 20 Jun 2012
5 answers
671 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
187 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
145 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.4K+ 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
241 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
77 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
85 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
149 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
70 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
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
Drag and Drop
Application
Map
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
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?