Telerik Forums
Kendo UI for jQuery Forum
3 answers
144 views
I have a grid that is regularly resized, both horizontally and vertically, by the user. Each time the container's size changes, the grid's "refresh" method needs to be called in order for it to resize itself. However, calling the "refresh" method collapses any expanded detail views. (version 2013.1.514)

Is there a way to prevent this from happening?
Dimiter Madjarov
Telerik team
 answered on 05 Sep 2013
1 answer
44 views
Hi,

I am looking for some suggestion on building a mobile app(IOS) which uses GPS/Geo Navigation.

We want to build a company app for users (includes truck drivers) who can view location, direction, instructions & data about products to be picked up or drop off.

I am not sure if I should use Asp.net MVC Mobile or Should I use Kendo UI Mobile to achieve the above?

I sure does have to pull data out of Database(Sql/Oracle).

Please let me know on this. Thanks.

Kiril Nikolov
Telerik team
 answered on 05 Sep 2013
7 answers
256 views
Hello, i have implemented a ListView which is shown inside an expandable area of a Grid.
The preview of the list data seem to fine. The problem starts when i go on the edit mode of the ListView and try to alter some values.

When changing a value on a field of the ListView and click somewhere outside of the field the expandable row collapses. This creates the problem that i do not manage to press on the "Save" button and call my own function.

I have created a jsFiddle Example of this problem. To reproduce it do the following steps:
1) Expand one of the rows
2) Press on "Edit" button
3) Change the "Product Name" field value
4) Press outside the input area.

As you will notice the row immediately collapses.

Thank you in advance
Nikolay Rusev
Telerik team
 answered on 05 Sep 2013
1 answer
263 views
Is there a way to disable the selection of the first element in a ComboBox  when I press Enter in it (was empty and not open)?

It's something that was change in one of the two last version.
Georgi Krustev
Telerik team
 answered on 05 Sep 2013
3 answers
562 views
Hi there,

I have a grid with pageable option:

totalItemsInDb = null;

        pageable: pageSizes:
            [10, 50, 500, totalItemsInDb]
         },

 

After the grid is created I want to change the last on to
some specific number which is a result from the datasource call.

 dataSource: {
            change: function(e) {
                //totalItemsInDb = this.total();
            },
 

$("select[data-role='dropdownlist']").children("option").eq(3).val(totalItemsInDb);

$("select[data-role='dropdownlist']").children("option").eq(3).text("some string");

 

However, the change is not getting reflected on the pageable
drop down. If I inspect with dev tools I can see that the value and the txt are
changed, but they are not visible to the user. I tried to do .refresh() on the
grid but no change is visible. Any advice

Thank you
Kiril Nikolov
Telerik team
 answered on 05 Sep 2013
2 answers
102 views
I've been playing with the bubble charts recently.  
When using static data, there is no problem, but when connecting to my dataset the maximum values for both x and y are set to 1.

When this happens my visuals are off screen. 
If I set the axis majorUnit to 5000, some of my categories become visible.. but I have no grid lines displayed other than 0 and 5,000.
BaseUnitStep: "fit" or "auto" have no effect.

Thanks,
-Stephen

Stephen
Top achievements
Rank 1
 answered on 04 Sep 2013
2 answers
76 views
Primarily, we have an issue where our select function is not being triggered after a user has selected a file. 
$('#file').kendoUpload({
        async: { ... },
        select: function (e) {
            // Do things in here
        }
    });
As shown above, the elemental bindings are conjured. In all cases to date, the select function works as expected. I've even dug around to prove that the kendoUpload object does, in fact, have the select property set. Problem is, as our QA just pointed out today, nothing ever happens in IE8 when a user makes a selection. I was hoping the fix would be something on my end, however it appears as though there's something more to it and I'd like to pose this to you and your team.  Thanks.

beauXjames
Top achievements
Rank 2
 answered on 04 Sep 2013
5 answers
116 views
Hey,

I have this use case:

On the server I have a JSON file that changes (for example) every 15 minutes.
The client typically leaves his browser open and wants to see the changes as fast as possible.

On the server I solved it this way:
When getting the json file, the server uses a http 304 to indicate that the file hasn't changed since the last request.


Client side I solved it this way:
 I have a kendo datasource, and an interval that is doing  datasource.read   (polling mechanism):

Problem:
The data isn't changed, but still the "change" event of the datasource is triggered.

Is there any way of achieving this with kendo datasource, without reprogramming the entire datasource with $.ajax?

Or is this maybe a good feature request :-) ?
As an extra: I don't want to use polling, but look at the Expires http header, to know when to do the next request.

My code:
01.var datasource = new k.data.DataSource({
02.    transport: {
03.        read: {
05.                url: 'test.txt',
06.                dataType: 'json'
07.            }
08.        },
09.    schema: {
10.        data: function (data) {
11.            return data.Layers || [];
12.        }
13.    }
14.});
15. 
16.//polling..
17.var _interval = window.setInterval(function () {
18.        datasource.read();
19.}, 5000);
20. 
21.datasource.bind('change', function (e) {
22.    //This shouldn't be triggered every 5 seconds
23.    console.log(this.data().length);
24.});
The response received from the server looks like this:

HTTP/1.1 304 Not Modified
Last-Modified: Mon, 02 Sep 2013 08:02:11 GMT
Expires: Mon, 02 Sep 2013 08:15:00 GMT
Accept-Ranges: bytes
ETag: "383bbbab2a7ce1:0"
Server: Microsoft-IIS/7.5
X-Powered-By: ASP.NET
Date: Mon, 02 Sep 2013 09:23:10 GMT
Kind regards,
Dierik Vermeir
Top achievements
Rank 1
 answered on 04 Sep 2013
5 answers
335 views
Hi Kendo Team,

We are using Kendo UI (Free download version) for our ASP.NET + CRM support application
development.
Kendo Grid and Datepicker are the controls we are facing issues with.

 1) Grid cell edit does not work in IE8 browser but in Chrome browser
If you are editing Grid cell and hit TAB key or ENTER key, cell wont persist the newly added values while in IE8 but it will persist the newly added values if you are using Chrome.
If cell is of numeric type then while editing Increment and Decrements option within cell are not coming in IE8 but in chrome.

2) Date picker is not working in Kendo window We are placing Date picker control along with some other html controls in a div and assigning that div to Kendo window. On click of Date picker icon it is failing to open Date popup in any browser. Whereas we have Date picker in parent window and which is working absolutely fine there but not in kendo window (child modal window)

Please suggest us 
some solution on this to make it working.

--Thanks,
RP
Kiril Nikolov
Telerik team
 answered on 04 Sep 2013
1 answer
139 views
is there a way to tie autocomplete to listview results? What I'm trying to do it to use autocomplete search box, and as results come in, populat listview.

thanks
Alexander Popov
Telerik team
 answered on 04 Sep 2013
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?