Telerik Forums
Kendo UI for jQuery Forum
1 answer
268 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
572 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
105 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
117 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
339 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
144 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
1 answer
75 views
First, let me say that I have a background in ASP.Net  web development and have quite a bit of experience writing iOS client side apps in objective c and c# (via xamarin).

I have a client who wants us to start a mobile web site for them but doesn't quite feel comfortable going client side at the moment.  If this project is successful, they may decide to go to a full blown client side iOS app.  If I write the app using Kendo UI Web (HTML5), is there a clear migration path to Kendo UI mobile?
Dimo
Telerik team
 answered on 04 Sep 2013
3 answers
226 views
Hello,
I've got a problem with a page inside a Kendo ui page...
consider this code please

That's my main page calling a window
@{
    ViewBag.Title = "Index";
}
 
<h2>
    <button id="button" class="k-button">openWindow</button></h2>
 
 
 
@Html.Kendo().Window().Name("winTest").LoadContentFrom("Index", "TestWindow").Modal(true).Visible(false).Title("Prova");
<script>
    $(function () {
 
        $("#button").click(function () {
 
 
            $("#winTest").data("kendoWindow").open();
        }
        );
    });
</script>
Here's the content of the window I load
@{
    ViewBag.Title = "Index";
    Layout ="";
     
}
 
@using (Html.BeginForm("Inserisci"))
{
    <h1>Some text</h1>
    <input type="submit" value="Click me" class="k-button" />
}
And the test controller

public class TestWindowController : Controller
   {
       //
       // GET: /TestWindow/
 
       public ActionResult Index()
       {
           return View();
       }
       public EmptyResult Inserisci()
       {
           return null;
           //return EmptyResult
       }
 
   }

When I click on the button the main page is redirected to Index of TestWindow..... how can I fix this?

Another question how do I tell to the view inside the window to close itself after having done some update on the repository?

Thanks
Daniel
Telerik team
 answered on 04 Sep 2013
2 answers
93 views
Dear Kendo Team,
I've grid with sortable,filterable, groupable and resizeable behaviors.
All works fine, excepted it is a bit hard to get the resizeable behavior due to the fact the cursor seems to get the css cursor style of the sortable behavior...
Could you provide me a solution in order to set the sortable behavior only on the title of a header column?
Thanks in advance
HUA
Top achievements
Rank 1
 answered on 04 Sep 2013
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?