Telerik Forums
Kendo UI for jQuery Forum
1 answer
368 views
Hi,

I have a scenario where I am trying to capture the enter key and trigger a bound click event for a view model.  The javascript is as follows:
$form.on("keydown", function (e) {
        if (e.keyCode == 13) {
            $("#mybutton").trigger("click");
             
        }
    });
and  mybutton is bound as such:
data-bind="click: AddPerson"
and the view model has a property named "AddPerson" that works fine when clicking the button, but does not work when issuing a jquery trigger("click")

Any ideas?

Thanks,
David A.


Alexander Valchev
Telerik team
 answered on 23 Apr 2013
1 answer
140 views
Is it possible to define a DataSource via a server wrapper and share it between Kendo controls, all via the server wrapper API for ASP.NET MVC?
Alexander Valchev
Telerik team
 answered on 23 Apr 2013
0 answers
63 views
How an use Push Notifications with Kendo UI Mobile ? I'm devloping an app that should work on IOS / android

Thanks
Aziz
Top achievements
Rank 1
 asked on 23 Apr 2013
2 answers
249 views
I am trying to use the server paging on a Kendo Grid.  However, when I click the a different page the call to the server is made twice.
$("#table").kendoGrid({
dataSource: {
transport: {
read: {
url: "/Analysis/addPortalDatasetstoTable",
data: { dataType: DatasetIdModel.dataType, dimensionsType: DatasetIdModel.dimensionsType, dsId: arr },
type: "POST",
dataType: "json",
traditional: true
}
},

schema: {
data: "data",
total: "total"
},
pageSize: 20,
serverPaging: true
},
height: 430,
filterable: true,
sortable: true,
pageable: true,
columns: [
{ field: "name", title: "Series Name", width: "130px" },
{ field: "category", title: "Category", width: "130px" },
{ field: "value", width: "130px" }
]

});


server call:
public JsonResult addPortalDatasetstoTable(DatasetIdModel model, int pageSize, int skip)
Petur Subev
Telerik team
 answered on 23 Apr 2013
1 answer
59 views

Hi,

I was tryinng use kendo grid and everythying works fine when I include kendo.all.min.js or kendo.web.min.js  in my page but it throws null reference exception when I use kendo.grid.min.js. I am using Jquery 1.9.1 and the latest kendo scripts I recently donwloaded. is there anything I missed?  the issue happens also for Kendo drop down and others too.

Thanks,
Ephrem
Atanas Korchev
Telerik team
 answered on 23 Apr 2013
1 answer
1.4K+ views
Hi, when I delete a row from a grid using a destroy command column, should it filter directly through to the dataSource's destroy transport? or do I have to manually code a remove event handler on the grid?
Alexander Valchev
Telerik team
 answered on 23 Apr 2013
6 answers
863 views
Hi,

I run into some problem with validator control from Kendo. I use one form in dialog Window for adding and editing existing data. This form validates just fine, but since I use it more than once with various data I have to somehow clear validation messages for each new instance of editing window.

It would be really nice to have a function like clearMessages()
Right now I overcame this issue by taking validation messages into seperate <span> object and modyfing their HTML with jQuery.
Rosen
Telerik team
 answered on 23 Apr 2013
1 answer
94 views
I have a grid.  The grid displays a name from a value from a popup from a custom template.  (For example the name field is Category, the drop down binds to PK numeric values, but the name binds to the category name).

Other columns in the grid for the selected row serialize to the grid for text fields just fine, and I can see the changes after the update is issued in the grid.  However the "Category" column does. This is likely because the bound data on the popup form is the numeric CategoryId, while the column shown and bound in the grid binds to a separate Name field, just Category.

How do I keep those in sync?
Cynthia
Top achievements
Rank 1
 answered on 22 Apr 2013
1 answer
111 views
I am using a kendo grid with an Generic Handler ashx .net handler in the back end. Everything works fine in Chrome/FF.

In IE10, I can make changes to the data, and everything appears to work. But if I navigate away form the page, and then back, I see the old data before my edits. Clicking the refresh button then shows the correct data with the new value I put in. No errors show up in the console.existingTasks

 This is 100% reproducible: launch example, to to tasks.aspx. Change data and save. Click home link. Click tasks link, and see that stale data is there. Click refresh, and see the data you previously entered.

I have tried putting IE10 in compat. mode, that that makes it so that the entire grid does not even render.
Shea
Top achievements
Rank 1
 answered on 22 Apr 2013
2 answers
56 views
I have a grid with a mode. I have defined the required field in the model as such:
WorkTypeID: { type: "number", validation: { required: true } },
If don't set a value for the at field, I am still able to save. Is there a way I can prevent the user from saving without choosing a value for this field?
Shea
Top achievements
Rank 1
 answered on 22 Apr 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?