Telerik Forums
Kendo UI for jQuery Forum
3 answers
1.1K+ views
Hi,

I noticed the latest KendoUI Update now includes a new JS Line.

I read previously that modernizr isnt needed for Kendo by highly recommended. Can someone at Telerik give us the just of what this custom Modernizr does. Thanks

<script src="@Url.Content("~/Scripts/kendo.modernizr.custom.js")"></script>
Dimo
Telerik team
 answered on 25 Mar 2013
1 answer
184 views
"Object doesn't support property or method 'call'".


I am getting the above error when I try to call the sync method on the DataSource (Kendo UI Complete v2012.3.1315).

I am using the helper functions from Remco's post here:
http://www.kendoui.com/forums/framework/data-source/sharepoint-2010-datasource.aspx
forecastDataSource = new kendo.data.DataSource({
        batch: true,
        schema: {
            id: "Id",
            model: {
                fields: {
                    Year: { type: "number" },
                    Quantity: { type: "number" }
                }
            }
        },
        type: "odata",
        transport: {
            read: function (options) {
                var url = forecastReadUrl;
                read(url).done(options.success).fail(options.error);
            },
            update: function (options) {
                requestBatchUpdate(options.data.models, "PAR_Forecast({0})").done(options.success).fail(options.error);
            }
        },
        error: function (e) {
            com.showInfoError("Error: ", "Unable to get data for forecast. " + e.errorThrown);
        },
        requestStart: function (e) {
            // handle event
            alert("start");
        },
        requestEnd: function (e) {
        }
    });
Alexander Valchev
Telerik team
 answered on 25 Mar 2013
1 answer
49 views
Hello,

I wanted to implement something similar to the android options button, which pops down a menu below it of options.  Is the Popover component a good one for this, given that I'm building a mobile phone-oriented app?

Thanks.
Dimo
Telerik team
 answered on 25 Mar 2013
2 answers
70 views
After upgrading from v2012.2.913 to v2012.3.1315 my kendo grid no longer draws.  I had been using jQuery 1.7.1, but I did try upgrading to 1.9.1.  The error is the same.  Here's all the info I can give you.

  - The error happens inside kendo.draganddrop.js.
 - I was using the minified versions, but replaced them with the full version in order to see exactly where the error occurs.
 - The error happens  at line 555 where the new object is receiving the cancel property.  
 - I know this because I stepped through everything until that point.  Pressing F11 (step into) fails.
 - The error is "undefined is not a function"
 - "proxy", "that._cancel", and "that" are all defined.
 - Google Chrome debugger screenshot attached showing the exact instant before the error occurs.
 - Google Chrome error file attached showing what happens when F11 is pressed from this state.

The reason I updated from 1.7.1 is because I found that calling destroy() on a grid was throwing an error.  I was going to post a thread on that issue, but thought the answer would be "upgrade" so I tried that first.  Now I can't even generate the grid.
Dimo
Telerik team
 answered on 25 Mar 2013
1 answer
178 views
I am having an issue when we have a large grid with more rows that will fit on the screen.  So then there is a vertical scrollbar in the browser.  My page has a header on it above the grid.  When I tab in a row, the page automatically scrolls to have the table/grid as the top of the page.

I was able to track this down in the full web file to a function that is called when the cell is edited.  The function is focusTable.  When called there is code to set the table position and this is causing the auto scrolling.  Is there anyway to disable this? 
Dimo
Telerik team
 answered on 25 Mar 2013
2 answers
692 views
The ComboBox is done in Razor:
@Html.Kendo().ComboBox()
  .Name(id)
  .Filter("contains")
  .DataTextField("ChoiceValue").DataValueField("ChoiceValue")
  .BindTo(inputs.Choices)
  .HtmlAttributes(new { @class = classText, data_validation = inputs.Validation })
If I use inline javascript, it works:
var input = $('#id').data('kendoComboBox').input;
input.bind({ keyup: function () { doStuff('test'); } });
But if I reference a separate file, I get this error: Uncaught TypeError: Cannot read property 'input' of undefined

How can I get this to work using a separate .js file?


Brent
Top achievements
Rank 1
 answered on 25 Mar 2013
5 answers
247 views
Hello,

The formatNumber function gives an error when you try to format a number with a custom number format 0.####
The problem is that there are no zeros after the decimalseparator.
I have fixed it in the Kendo code, but not sure if I may post that here on the forum.

Also, looking to the code, I think there is an issue, when you have a number 1.23456 and you want to format it with 0.0##. You will get 1.23456 instead of 1.235.

Regards, Jaap
Alexander
Top achievements
Rank 1
 answered on 25 Mar 2013
0 answers
96 views
Hi,

I'm using KendoUI Gauge with Knockout, and it works fine. But when the value is greater than the max value, I'd like to update the max value to my actual value.
I'm using this documentation  Kendo-Knockout
I build a simple demo to ilustrate: Example

How could I do something like that using Knockout?
Thanks.

EDITED:
Forget about that. I was trying to update a single property from my ScaleOptions object, but when I recreate the entire object, it works.

myViewModel.ScaleOptions().max = newValue;
myViewModel.ScaleOptions({
   min: 0,
   max: newValue,
   ranges: [{
      from: 0,
      to: 40
   }, {
      from: 40,
      to: 80
   }, {
      from: 80,
      to: newValue
   }]
});


Marcelo
Top achievements
Rank 1
 asked on 25 Mar 2013
1 answer
109 views
Hello!
Tell me, please, what is the right way to determine is ComboBox.dataSource of existing ComboBox binded with data on server (ServerBinding) or ComboBox.dataSource  has ClientBinding settings? Thanks
Petur Subev
Telerik team
 answered on 25 Mar 2013
1 answer
89 views
http://demos.kendoui.com/web/multiselect/events.html

If you use your mouse to select an item, the "select" event fires.  If you use your keyboard, it does not fire.  Is there a workaround for this?

  Nick
Georgi Krustev
Telerik team
 answered on 25 Mar 2013
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
Iron
Iron
Sergii
Top achievements
Rank 1
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
Iron
Iron
Sergii
Top achievements
Rank 1
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?