Telerik Forums
Kendo UI for jQuery Forum
1 answer
157 views
Hi
I have a ListView in a tabstrip with a button like the Sushi Demo and i want that when i click on the button the application open the detail view in the same view.
How can i do this?
thanks Elios 
d2uX
Top achievements
Rank 1
 answered on 12 Jul 2012
1 answer
149 views
Is there no easy way to pop an item from an array?

Take this code for example"

<div id="kendo-bound-resourcelist" data-bind="visible: isVisible" >
                    <div data-role="grid" data-sortable="true" data-bind="source: items" data-columns='["Title", "PMID", "TypeOfMaterial",""]' data-row-template="row-template"></div>
                </div>
 
                <script id="row-template" type="text/x-kendo-template">
                      <tr class="k-grid-edit-row">
                          <td>
                            <span data-bind="text: Title"></span>
                          </td>
                          <td>
                            <span data-bind="text: PMID"></span>
                          </td>
                          <td>
                            <span data-bind="text: TypeOfMaterial[0]"></span>
                          </td>
                          <td>
                            <input type="button" data-bind="click: deleteItem" value="Delete" />
                          </td>
                      </tr>
                </script>

Ok so on click we call the delete in the model
this._viewModel = kendo.observable({
                items: [],
                isVisible: function () {
                    return this.get("items").length > 0 ? true : false;
                },
                deleteItem: function (resource) {
                    this.get("items").pop(resource);
                }
            });

So why doesn't this work? :/  It's just popping off the last item in the array instead of the item I'm giving it. 

I've tried doing things like this, but end up at the same result
var deletedId = resource.data.Id;
var items = this.get("items");
 
for (var i = 0; i < items.length; i++) {
    if (items[i].Id === deletedId) {
        this.get("items").pop(items[i]);
    }
}

What am I doing wrong?
sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 12 Jul 2012
1 answer
54 views
Hi everyone,
 I am new to Kendo Ui and was wondering where the best place to start would be???
_______________________________________________________________________
Thanks,
Cory Carter
CPA Freedom Review
Dimo
Telerik team
 answered on 12 Jul 2012
2 answers
123 views
Hi,

I have been evaluating Kendo UI and reading about it online and its FAQs. There is something not clear that I would like to ask.

The First question in the FAQ is "What is Kendo UI ?"
and the answer is:  Kendo UI is a HTML5, jQuery-based framework for building modern HTML apps......

Then there is a Question: : Is Kendo UI based on jQuery UI?
To which the answer is: No, Kendo UI is not based on jQuery UI.

So I would like to understand what is the relation between KendoUI and Jquery and why is it important to include Jquery to use KendoUi?

Thanks and regards

AMZ
AMZ
Top achievements
Rank 1
 answered on 12 Jul 2012
1 answer
114 views
Hello, i've some problem:
When widgets (select, text input) are near the bottom of the screen or need scrolling to reach them and after tapping the widget native controls like keyboard or select drum are invoked these controls move the entire page including NavBar up. But when controls are closed and the page moves back, NavBar doesn't do it completely. It's on the screen but is covered with status bar of the device (that show signal level, battery level, etc).

Platform: iOS 5.1, 5.1.1 - iPhone 4S and iPad2

How can I solve this?
Rinat
Top achievements
Rank 1
 answered on 12 Jul 2012
0 answers
77 views
Hi all,

Did anyone face an issue like this ?, clicking on the switch in modal window, closes the modal window !
Harut
Top achievements
Rank 1
 asked on 12 Jul 2012
1 answer
102 views
Hi folks

I'm trying to submit a support ticket but can't because "Issue Area" has no options to select from the drop down.

I didn't really know where to report to support that I can't report to support so I'm posting here.

You may already be aware of this and fixing it right now.

Thanks.
Michael.

Tried:
Chrome 20.0.1132.47 m
Firefox 13.0.1

Select element has no child options. No JavaScript errors thrown.
Account: esofx
Georgi Tunev
Telerik team
 answered on 12 Jul 2012
0 answers
70 views
What is the right tool for new developers of new HTML5 markup language?
Eralper
Top achievements
Rank 1
 asked on 12 Jul 2012
10 answers
1.0K+ views
Is there any way to override the way the datasource is parsing and stringifying the JSON data, when using the transport? Currently, the Kendo utilities do not handle dates right (at least when using ubiquitous .NET/JSON server libraries). So on both the parameterMap and parse config lines, I have overrides there but they are hardcoded to specific fields since having to deal with javascript object/property level still.

What I want to do is take over the whole parse and stringify with a client library that handles dates better. I cannot seem to hook in the right place - before the raw data is already treated by the Kendo utils. Is this possible while using the rest of the transport functionality and if so, where do I intercept this?

Thanks!
Mike
autoabacus
Top achievements
Rank 1
 answered on 12 Jul 2012
1 answer
128 views
Hello, 
hoping that this will be simple, i am trying to show all the root collections exposed by a odata service. The code looks like this

  $(document).ready(
        function () {
            $("#widgetList").kendoDropDownList({
                dataSource:
                {
                    type: "json",
                    transport:
                    {
                        read: "/DynamicOData/oData/?$format=json"
                    }
                }
            })
        });

the values returned are by the service is
{
"d" : {
"EntitySets": [
"TopSellers", "WorstSellers"
]
}
}

Daniel
Telerik team
 answered on 12 Jul 2012
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?