Telerik Forums
Kendo UI for jQuery Forum
4 answers
73 views
steps to produce the issue.
1. open below link.
http://www.kendoui.com/forums/ui/multi-select.aspx
2. search below thread
"Select" event doesn't fire when using keyboard
3. Click on that link.
4. it will redirect to below link.
http://www.kendoui.com/forums/ui/multi-select/-select-event-doesnt-fire-when-using-keyboard.aspx
5. Check attached files. (in this file i am not able to find question)
Niki
Telerik team
 answered on 02 Apr 2013
2 answers
2.4K+ views
Is there a way to have a function called after the Grid (or DataSource for that matter) performs an Update,Destroy, Create ?
I see where there are functions for before the CRUD operation is called, but not for after.  Something like UpdateSuccess or some such.
I need to perform some other functions, but if I do it, the object still exists on the database so any new requests for data will include the object being updated/deleted etc.
Ralph Wally
Top achievements
Rank 1
 answered on 02 Apr 2013
1 answer
774 views
Hi,

I am using the new multiselect widget with server filtering enabled.  The issue that I am facing is that I am not able to retrieve the entered text (using the javascript function onAdditionalData) and send it to the server side for filtering.  Please see example below:

$("#merchants").kendoMultiSelect({
                dataSource: {
                    transport: {
                        prefix: "",
                        read: {
                            url: "GetMerchants",
                            data: onAdditionalData
                        }
                    },
                    serverFiltering: true,
                    filter: [],
                    schema: { "errors": "Errors" },
                    
                },
                placeholder: "Select merchants...",
                dataTextField: "Name",
                dataValueField: "Id",
                filter: 'contains'
                
            });

function onAdditionalData() {

            return {
                text: $("#merchants").value()
            };
        }

Thanks,
Nitesh
Petur Subev
Telerik team
 answered on 02 Apr 2013
7 answers
585 views
The Grid's 'select' event does not appear to fire when rows are 'unselected' after sorting a column. :(

It looks like this has been noticed already; http://www.kendoui.com/forums/ui/grid/change-event-and-row-unselect.aspx

Can this be fixed? Clearly the selection is being changed; this event should fire.
Petur Subev
Telerik team
 answered on 02 Apr 2013
3 answers
192 views
Hi There,

I've wrapped my kendoui mobile application in PhoneGap and created a native application for Windows Phone 8. My issue now is that none of the kendo mobile icons are rendering when I test using tyyhe Windows Phone 8 emulator? I have double checked that all of the tff and woff files are in the correct place along with all the images but it still doesn't. 

Is there something different I need to do to get icons to work and should I being expecting them to?

Finally there is also an issues that all of the views seem to be rendered too high so the top part of headings in the top toolbar are cut off and you have to manually scroll down. This seems to happen after an input has been used and the keyboard appears and then is closed. Is there a way I can fix this?

Thanks,

Rob

Kamen Bundev
Telerik team
 answered on 02 Apr 2013
5 answers
556 views
What does the data of the footer template represent?  I am trying to access some custom properties that I added to the grid.  It would make sense to me that the data parameter in the template function would somehow represent the grid.
If not, is there anyway to get the grid during template processing?  I have a hierarchical grid and need to know which one is rendering when I render the template.

Thanks,
Eric 
Software
Top achievements
Rank 1
 answered on 01 Apr 2013
3 answers
118 views
Hi, when I have a discontinuous/sparse seriies of data (e.g. a date X-axis, and i have 1/1,1/2,1/5,1/6) on a line graph,etc there are 'breaks between the actual values on the 'missing'  day.  Is there an option to have the chart draw the line 'across' the missing values to the next 'dot'?
Iliana Dyankova
Telerik team
 answered on 01 Apr 2013
2 answers
88 views
I have this grid set up.
@model IEnumerable<MyDllClass.Account>
 
@{
    ViewBag.Title = "User Management";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
 
@(Html.Kendo().Grid(Model)
.Name("UsersGrid")
.Columns(columns =>
{
    columns.Bound(currentAccount => currentAccount.FirstName);
    columns.Bound(currentUser => currentUser.LastName);
    columns.Bound(currentUser => currentUser.Email);
    columns.Bound(currentUser => currentUser.Phone1.PhoneNumber).Title("Primary Phone");
    columns.Bound(currentUser => currentUser.Organization);
    columns.Bound(currentUser => currentUser.Address.County.CountyName);
    columns.Bound(currentUser => currentUser.Role);
    columns.Bound(currentUser => currentUser.IsLocked);
    columns.Bound(currentUser => currentUser.AccountLog.LastLogIn);
    columns.Bound(currentUser => currentUser.IsActive).Title("Enabled");
    columns.Command(command => { command.Edit(); command.Destroy(); }).Width(300);
})
.ToolBar(toolbar => toolbar.Create())
.Editable(editable => editable.Mode(GridEditMode.PopUp).TemplateName("AddEditUser").Window(window => window.Width(750)))
.Pageable(pages => pages.PageSizes(true))
.Sortable()
.DataSource(datasource => datasource
    .Ajax()
    .ServerOperation(true)
    .Model(model => model.Id(currentAccount => currentAccount.UserName))
            .Create(update => update.Action("AddAccount", "Account"))
            .Update(update => update.Action("EditAccount", "Account"))
            .Destroy(update => update.Action("DeletAccount", "Account"))
    )
  )
 
<script type="text/javascript">
    $(document).ready(function () {
        var grid = $('#UsersGrid').data("kendoGrid");
        if (!grid)
            console.log("Nothin");
        else
            grid.bind("edit", function (e) {
 
            });
    });
</script>
When I try to edit or add I get the following jquery/javascript error:
 Uncaught TypeError: Cannot call method 'center' of undefined
Chrys
Top achievements
Rank 1
 answered on 01 Apr 2013
1 answer
131 views
The direction of the sliding transitions in kendo mobile is all messed up when you have  3+ tabs.

The direction of the page transition should always correspond to the relative position of a newly selected tab button in relation to the previously selected tab button.  If a newly selected tab button is to the right of the previously selected tab button, the transition should be from right to left.  If a newly selected tab button is to the left of the previously selected tab button, the transition should be from left to right.  

But in kendo mobile say you have a TabStrip with three tabs (from left to right), call them A, B, and C.

The app initializes with tab A selected.  If you click tab B, the page transition moves from right to left (correct).  Then if you click tab C, the page transition moves from right to left (correct).  Then if you click on tab A, the page transition moves from right to left (INCORRECT).
Petyo
Telerik team
 answered on 01 Apr 2013
3 answers
226 views
Hi, 

I am using Icenium Graphite for dev and I have listview bound to a Remote data set with server side paging enabled that is showing 30 rows in one page.  Scrolling to 2 page the application crashes on iPad and iPhones due to "Received memory warning." . When I modify the page size to 10 then the application crashes after scrolling 4 pages. It works fine in the Stimulator. 

You can easily reproduce this error in iPad using the JS Bin example given at http://jsbin.com/iyodux/32/edit
It crashes in iPad and iPhone if you load 500+ items giving multiple  "Received memory warning" messages. 

Regards,
Amit

Alternatively, here is an example code :


<!DOCTYPE html>
<html>
    <head>
        <title></title>
        <meta charset="utf-8" />
        <script src="cordova.js"></script>
        <script src="kendo/js/jquery.min.js"></script>
        <script src="kendo/js/kendo.mobile.min.js"></script>
        <script src="http://maps.google.com/maps/api/js?sensor=true"></script>
        <script src="scripts/hello-world.js"></script>

        <link href="kendo/styles/kendo.mobile.all.min.css" rel="stylesheet" />
        <link href="styles/main.css" rel="stylesheet" />
    </head>
    <body>
        <div data-role="view" id="home" data-title="Home">
            <header data-role="header">
            <div data-role="navbar">
                <span data-role="view-title"></span>
            </div>
            </header>
            <ul id="mainlist"
                data-role="listview" 
                data-source="category" 
                data-click="onClick" 
                data-template="home-lw-template" 
                data-style="inset">
            </ul>
        </div>
       
        <script id="home-lw-template" type="text/x-kendo-template">
            #: name #
        </script>
    

        <div data-role="layout" data-id="mobile-tabstrip">
            <header data-role="header">
                <div data-role="navbar">
                    <span data-role="view-title"></span>
                </div>
            </header>

            <div data-role="footer">
                <div data-role="tabstrip">
                    <a href="#tabstrip-home" data-icon="home">Home</a>                   
                </div>
            </div>
        </div>

        <script>
            var app = new kendo.mobile.Application(document.body, { transition: "slide", layout: "mobile-tabstrip" });
        </script>
        
         <script>
        var app = new kendo.mobile.Application(),
        category = new kendo.data.DataSource({
            data: [
                {id: 1, name: "drinks"},
                {id: 2, name: "fruits"}          

// ADD MORE ITEMS HERE TO REPRODUCE THIS ERROR...

                                          
            ]
        });
     
    </script>        
    </body>
</html>

Petyo
Telerik team
 answered on 01 Apr 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?