Telerik Forums
Kendo UI for jQuery Forum
1 answer
29 views
Hi
If we add any record, after save it should by default select the
record which has been added if it exists in the grid.
How do we achieve this in Kendo?



Kiril Nikolov
Telerik team
 answered on 15 Jan 2014
1 answer
79 views
I believe there may be a bug in the way panes are removed from splitter IF there are more that one splitter on the page.  The following is the remove method from kendo.splitter.js in v2013.3.1119:

remove: function(pane) {
    pane = $(pane);
 
    var that = this;
 
    if (pane.length) {
        kendo.destroy(pane);
        pane.each(function(idx, element){
            that.options.panes.splice($(element).index(".k-pane"), 1);
            $(element).remove();
        });
 
        that._removeSplitBars();
 
        if (that.options.panes.length) {
            that.resize();
        }
    }
 
    return that;
},
If there is only one splitter on the page, $(element).index(".k-pane") will return the appropriate index of the pane.  If there are more than one splitter on the page, the ".k-pane" selector will return panes for ALL the splitters on the page (not just the splitter in question) and the element's index within that jquery object will NOT correspond to the index in the that.options.panes array.  I haven't tried it but I think that the following would eliminate the erroneous panes:
that.options.panes.splice($(element).parent().children(".k-pane").index($(element)),
1);


Dimo
Telerik team
 answered on 15 Jan 2014
1 answer
167 views
Dear Support, 
I want to use the scheduler in classic ASP as the existing Telerik Rad Scheduler is very slow.

Can I please have the Vertical Grouping sample project in Classic ASP please.

Thanks,
Mrinal
Vladimir Iliev
Telerik team
 answered on 15 Jan 2014
1 answer
57 views
Hi,

I'm having a problem and I just can't figure out what I'm doing wrong.

Basically .expand(".k-item") is not expanding any item.  I'm using the latest internal version (2013.3.1309).

I'm not using the latest published version (2013.3.1119) since with this one I couldnt expand any item at all.
(i even created a jsbin with this problem of not expanding any item, although i'm not sure if it has anything to do with this later problem)

The code for the expand method problem is right below.

Thanks in advance,
Luciano / Fabricio

var treeDataSource = new kendo.data.HierarchicalDataSource({
    transport: {
        read: {
            url: settings.GetTreeDataAction,
            dataType: 'json',
            type: 'POST'
        }
    },
    schema: {
        data: "Model.RootItems",
        model: {
            children: "ChildItems",
            hasChildren: "ChildItems.length > 0"
        }
    }
});
 
var treeView = $("#treeview").kendoTreeView({
    dataSource: treeDataSource,
    dataTextField: "Item.Nome",
    loadOnDemand: false
}).data("kendoTreeView");
 
treeView.expand(".k-item");

Alex Gyoshev
Telerik team
 answered on 15 Jan 2014
1 answer
256 views
Currently week is displayed Sunday thru Saturday. How do I change the view to show Monday thru Sunday (so weekend shows up together on right hand side)?
Atanas Korchev
Telerik team
 answered on 15 Jan 2014
1 answer
66 views
We are not using the "transport" mechanism to do CRUD calls due to other dependencies. Instead we are using add/remove API calls to manually manage Scheduler data.

To do an update of an event, can I safely  do "Add" without "Remove"? Will the new added event with same id replace existing event (of same id) or will it cause any unexpected issues?
Atanas Korchev
Telerik team
 answered on 15 Jan 2014
1 answer
48 views
Please help me to create a kendo popup grid ....i am trying to develop a small grid with CURD actions ....i can read the data from the database but update ,delete and create i cant....pls upload a php application with server side coding including a simple database....thank u.........
Dimo
Telerik team
 answered on 15 Jan 2014
3 answers
498 views
Hi,

I am looking for a library to purchase to help me build web and mobile applications. I am not a guru programmer like of you guys. I have experience of working with ASP.NET, C#, EntityDataSource, EntittyFramework and SQL Server.

I have downloaded the trial version of Kendo UI  to try and learn how to use the  Scheduler  and your JavaScript library with ASP.NET. 

However, the source code you provided only contains the HTML files but not the full Scheduler Visual Studio application. I have checked the code provided and you are calling  your server for CRUD operations:

transport: {
                read: {
                    url: "http://demos.kendoui.com/service/tasks",
                    dataType: "jsonp"
                },
                update: {
                    url: "http://demos.kendoui.com/service/tasks/update",
                    dataType: "jsonp"
                },
                create: {
                    url: "http://demos.kendoui.com/service/tasks/create",
                    dataType: "jsonp"
                },
                destroy: {
                    url: "http://demos.kendoui.com/service/tasks/destroy",
                    dataType: "jsonp"

I would like to have the services, database and entity framework all locally so I can see how it all works and learn how to use Kendoui with Visual Studio.

Could you please advise me where I can download a FULL Demo including the database to use with the Scheduler?

Cheers

CP




Vladimir Iliev
Telerik team
 answered on 15 Jan 2014
4 answers
164 views
I try to add aggregates to the grid. I see a row at the bottom of the grid, but there are no values.

JSFiddle: http://jsfiddle.net/ewaldhofman/49TxH/

What am I doing wrong?
Ewald
Top achievements
Rank 1
 answered on 15 Jan 2014
4 answers
153 views
I'm encountering problems retrieving my app's tab strip using JQuery. Sometimes it works, sometimes it doesn't. Code snippet below:

function updateBadges() {
        console.log("Updating badges");
        var tabstrip = $("#tabstrip").data("kendoMobileTabStrip");
        if (tabstrip) {
            var reminderCount = getRemindersDataSource().view().length;
            console.log(reminderCount);
            if (reminderCount > 0)
                tabstrip.badge(2, reminderCount);
            else
                tabstrip.badge(2, false);
        } else {
            console.log("Can't find tabstrip");
        }
    }

Tabstrip is defined as:

<div id="tabstrip" data-role="tabstrip">
etc

Are there any constraints to be followed?

Thanks.
Jay
Top achievements
Rank 1
 answered on 15 Jan 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?