Telerik Forums
Kendo UI for jQuery Forum
1 answer
152 views
KendoUI Team:
1. Nice start to a cool framework.
2. I am having significant issues with the Datasource wrapper, hitting a JSON WCF RIA services factory. Essentially, the change function gets called, but the event arguments do not contain the results.
3. When I hit the same service with a .ajax(Params) call, the results are all there (1 record)

eg: - this works fine. data.xxx.RootResults is fully populated as expected.
 function Load() {
        var Params = {};
        Params.type = 'GET';
        Params.url = 'EPSolutions-Empower-Wcf-DomainServices-RIAService-EmpowerService.svc/' + 'JSON/' + 'GetAccountSummaryDTOByAccountNumber';
        Params.dataType = 'json';
        Params.data = 'accountNumber=' + $("#uiAccountNumberInput").val();
 
        Params.success = function (data) {
 
            var returnedEntity;
            for (var i in data.GetAccountSummaryDTOByAccountNumberResult.RootResults) {
                returnedEntity = data.GetAccountSummaryDTOByAccountNumberResult.RootResults[i];
  
 
            }
        };
 
        $.ajax(Params);
    }


eg: the change: Function (e) has no data object as a member, unlike the above ajax call.
// AccountSummaryDTO
    var accountSummaryDTO = new kendo.data.DataSource({
        transport: {
            read: {
                type: "GET",
                url: "EPSolutions-Empower-Wcf-DomainServices-RIAService-EmpowerService.svc/JSON/GetAccountInfoDTOByAccountNumber",
                dataType: "json",
                data: {
                    accountNumber: function () {
                        return $("#uiAccountNumberInput").val();
                    }
                }
            }
        },
  
        change: function (e) {
            var returnedEntity;
 
            var dd = this.at(0);
 
         //   for (var i in e.GetAccountSummaryDTOByAccountNumberResult.RootResults) {
         //       returnedEntity = e.GetAccountSummaryDTOByAccountNumberResult.RootResults[i];
//
//            }
 
        
        },
 
        error: function (e) {
            alert(kendo.format("ERROR: Unable to read account {0}", $("#uiAccountNumber").val()));
        }
    });

In both cases, the Network traffic shows the correct response, ie exactly the same for each example. 
{"GetAccountSummaryDTOByAccountNumberResult":{"TotalCount":1,"RootResults":[{"AccountBalance":-51.70,"AccountBalanceState":2,"AccountBalanceStateText":null,
etc (very wide)

No idea why the change event does not have the data in it.
schema ?

Your help appreciated.
Phil Harris
epSolutions

Rosen
Telerik team
 answered on 01 Mar 2012
0 answers
24 views
Hi! I have created the following function to search for a row in the Grid making use of the filter columns method and an OR flag and assign that to a search button. So I put in the keyword and it searched through the entire list with paging. But after the search, it doesn't display the result on the grid screen. But there is a page one link at the bottom left corner of the grid. I will see the result when I click on that link. How do I make it default to be displayed on the grid without doing the above interaction? What did I miss?? Thanks!

function searchRecord(searchdata) {

        $("#gridReviewers").data("kendoGrid").dataSource.filter( {logic: "or",
                            filters: [  {field: "username", operator: "eq", value:searchdata.key },
                                    {field: "email", operator: "eq", value:searchdata.key },
                                    {field: "name", operator: "eq", value:searchdata.key } ] } );

        $("#gridReviewers").data("kendoGrid").dataSource.read();
        }
George
Top achievements
Rank 1
 asked on 01 Mar 2012
3 answers
463 views
Hi,

Is there a credit card validation rule built into the validator? I can't seem to find any reference to credit card validation in the docs or examples.

I have a checkout form I'd like to use some widgets on but don't want to have to add jquery validate in addition to the kendo ui script.

If it doesn't existing please consider this a formal feature request.

Thanks.

Tony
Rosen
Telerik team
 answered on 01 Mar 2012
5 answers
174 views
I have server sorting working but when I set allowUnsort to true it will always pass in the last sort when clicking on a column for the third time.  So it goes asc, desc, then the it appears to not be sorting on anything but it is actually still passing in the desc sort to the webservice.
Jignesh
Top achievements
Rank 1
 answered on 01 Mar 2012
0 answers
88 views
Hi
I want to use icon with background gradient on  kendo ui web treeview child items. Please let me know how I can achieve this.


Thank you
David
Top achievements
Rank 1
 asked on 01 Mar 2012
10 answers
322 views
Hi. 

Are there any sketches on how the coming MVVM API will look like? With the current feature set Kendo UI doesn't look like a full solution and I couldn't much docs on how to integrate it with JavaScript MVC frameworks like Backbone.

Br,
Timo Westkämper
Vesselin Obreshkov
Top achievements
Rank 2
 answered on 01 Mar 2012
2 answers
50 views

Hello,

I downloaded today the Kendo Mobile UI: kendoui.mobile.2012.1.124.beta. The first thing I’ve tried to do is to access it using my android mobile to see how changes on html files affects the rendering on device.

For this I`ve used my development web server environment but I couldn`t see any time the widget as I see them in http://demos.kendoui.com/mobile/listview/index.html web neither in http://demos.kendoui.com/mobile/m/index.html witch is the url acceded by android mobile device.

Do I have to make any additional configuration in the server? Is the beta version prepared to not  render the widget as the kendoui demo?

I’m an experienced asp.net “ajaxfied” developer and I’d like to go into mobile devices html5 applications using kendo framework but I’m a little (and more than this) confused about this new technology and the first steps on it.

My question is: How can I make the beta examples run on my android mobile device against my development web server?

Thanks a lot,

Marcelo

Marcelo
Top achievements
Rank 1
 answered on 29 Feb 2012
2 answers
412 views
Hello Telerik Team

The Kendo framework looks good. Just few things.

  • The Themes. Even though you have about 5 in built themes with the framework, none of these themes comes provide a compact look. When you develop an enterprise business application, one of the main requirement is to show as many data as possible in a grid view. Your Silverlight controls does a good job but Kendo Grid has very large font sizes and row heights. I tried to use the theme builder to change it but was unsuccessful. May be it is possible as I am not a CSS expert but would be really good if you can include it with the in-built themes.
  • MVVM. It is a must. And I can see you have included that in the roadmap for Mar-12 which is great.
Regards
Paul.
Tim Huemmer
Top achievements
Rank 1
 answered on 29 Feb 2012
0 answers
111 views
I have a web service (asmx) that the Read method accepts a parameter (name).
The webservice is installed on Win / IIS.
- If the aspx page that calls the webservice is installed in IIS: everything works.
- If the aspx page that calls the webservice is installed on Linux / Mono / Apache calling the webservice is not running, without reporting anything.
- If the aspx page and webservice is installed on Linux / Mono / Apache calling the webservice is not running, without reporting anything.
 The web methods without parameters work properly in both installations.
 Suggestions?

--- aspx ----
read: {
url: "TipologiaRimborso.asmx/Read",
contentType: 'application/json; charset=utf-8',
type: "POST",
dataType: "json",
data: { name: "test" }
},
parameterMap: function (options) {
   return JSON.stringify(options);
}

----- asmx --------
WebService(Namespace = "http://tempuri.org/")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    [System.ComponentModel.ToolboxItem(false)]
    [ScriptService]
    public class TipologiaRimborsoWS : System.Web.Services.WebService
    {
        [WebMethod]
        [ScriptMethod(ResponseFormat = ResponseFormat.Json)]
        public List<TipologiaRimborso> Read(string name)
        {
......
....
}
Mike
Top achievements
Rank 1
 asked on 29 Feb 2012
0 answers
97 views
It appears the an existing selection is reset as soon as an unmodified mouse down occurs on the grid.  (shift mouse down does a selection on/off through a range of rows, ctrl mouse down toggles selection of row, draw a box to select / deselect multiple)

It would be great if the grid could function a little more like windows explorer, in so far as, if a drag start occurs over a selected cell dont reset the selections. Instead create a drag hint that looks like the rows so they can be dropped elsewhere.

Since this doesn't seem to be a stock feature, has anyone come up with a workable facsimile ?
Richard
Top achievements
Rank 1
 asked on 29 Feb 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?