Telerik Forums
Kendo UI for jQuery Forum
1 answer
133 views
I'm trying to make a 100% height scrollview. If I make it using html attributtes (<data-role="scrollview" data-source="_500pxBatchDS"  data-template="scrollview-batch-template" data-items-per-page="4" data-content-height="100%" data-enable-pager="false">) it works right.

But I bind it using javascript functions seems that do nothing. You can see it in this example if you change the height style in batch-page to 100% at this sample:
http://jsbin.com/ULiwADU/2/edit

How can I make it works?

Thanks
Alexander Valchev
Telerik team
 answered on 05 Dec 2013
1 answer
252 views
I have this view, as below, which is bound the viewModel/module shown below (loaded up via requirejs as per the KendoUI Mobile Music Store).  When I load the page, the authenticate is being called (i.e., it's making that ajax network call as well).
<div data-role="view" id="login-view" data-layout="blank"
     data-model="app.views.login.viewModel">
 
    <h1 style="text-align: center;">Title</h1>
    <form id="login">
        <input data-bind="value: username" id="username" type="text" placeholder="Username" /><br />
        <input data-bind="value: password" id="password" type="password" placeholder="Password" /><br />
        <input type="submit" value="Login" data-bind="click: authenticate" />
    </form>
</div>
define(["jQuery", "kendo", "modernizr", "app/environment"], function ($, kendo, modernizr, environment) {
    var authenticate = function (username, password) {
        return $.ajax({
            url: environment.apiConnection + '/canlogin?userid=' + username + '&password=' + password,
            type: 'get',
            dataType: 'jsonp'
        });
    }
 
    authenticate().done(function (data) {
        alert(data);
    }).fail(function() {
        alert('fail');
    })
 
    return {
        viewModel: kendo.observable({
            username: null,
            password: null,
            authenticate: function () {
                var username = this.get('username'),
                    password = this.get('password');
 
                authenticate(username, password);
 
                if (!Modernizr.localstorage) {
                    alert('There was an error accessing LocalStorage on this device.');
                    return;
                }
 
                localStorage["username"] = username;
                localStorage["password"] = password;
            }
        })
    }
});
Thomas
Top achievements
Rank 1
 answered on 05 Dec 2013
1 answer
90 views
I have a grid using this command...

.Destroy(update => update.Action("EditingInline_Destroy", "Grid"))

and it hits my controller as expected...

  public ActionResult EditingInline_Destroy([DataSourceRequest] DataSourceRequest request, MemoModel memo)

But the memo is coming in Null.

How is the Destroy or Update supposed to pass in the object or ID of the row being deleted?
     

Vladimir Iliev
Telerik team
 answered on 05 Dec 2013
1 answer
92 views
Is there a way to manually change the width of a column client side? I am setting the width property to something and its registering but it does not display the new width until I do a hide/show column or another grid action. Is there a way to manually trigger this column size refresh?
Dimiter Madjarov
Telerik team
 answered on 05 Dec 2013
4 answers
110 views
Hi
I'm trying to use web SQL databases with kendo mobile datasources. My code is based on a Kendo Web example that works fine but there is no way to make it works on mobile version. It doesn't trhow any exception but it doesn't works. Anyone has do it? I attached my code.
Thanks
Alexander Valchev
Telerik team
 answered on 05 Dec 2013
2 answers
58 views
Hi

I'm missing the european timezones (p.e. "Europe/Zurich") in the mentioned ressource above.
Any idea?

Thanks
Jean-Claude
Jean-Claude
Top achievements
Rank 1
 answered on 05 Dec 2013
6 answers
418 views
Can someone please help, we want to resize our KendoUI stock chart based on window resize (i.e. make it responsive). How can we redraw the stock chart when user changes to mobile device or resizes their browser window?
Iliana Dyankova
Telerik team
 answered on 05 Dec 2013
1 answer
369 views
I have HTML that I am pulling from a database and displaying in a cell.  Right now, just the raw HTML is displayed.

How do you enable the column to display the HTML (css and all)?   I have looked at the column templates, but don't see an examples.

Thanks.



Kiril Nikolov
Telerik team
 answered on 05 Dec 2013
1 answer
254 views
Kendo Ui Grid: When I choose cancel on Popup editing, the entire row is deleted.
This happens only with newly added rows, old ones don't get deleted.

to reproduce this => http://uicod.com/c60.cod

1 add a new row
2 then click "Edit" and "Cancel".

Thanks.
Kiril Nikolov
Telerik team
 answered on 05 Dec 2013
7 answers
398 views
I get javaScript error when my model return nullable Int.  I use MissingValues(ChartLineMissingValues.Gap) but this didn't fix the issue. I really don't want to show the line when there is no values. If I change my code to return zero it will show the Line at zero. this is not what I am looking for 

Unhandled exception at line 35, column 17304 in http://localhost:28123/Scripts/kendo/2013.2.716/kendo.all.min.js

0x800a138f - JavaScript runtime error: Unable to get property 'value' of undefined or null reference
Hristo Germanov
Telerik team
 answered on 05 Dec 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)
SPA
Filter
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
OrgChart
TextBox
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
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
StockChart
ContextMenu
TimePicker
DateTimePicker
RadialGauge
ArcGauge
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?