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

In  normal input boxes I have validation on lost focus and on form submit too.
However if I turn the input into combobox there is validation only on form submit...

There is a way to change it?

Regards,
Peter
Rosen
Telerik team
 answered on 14 Feb 2012
2 answers
108 views
Hi,

I have a requirement to select multiple rows on different pages to perform batch operations on selected rows. Currently, if I select multiple rows on a page and then go to another page all previous row selections are lost. Is there a way to get this done.

Thanks,
Danish 
Nikolay Rusev
Telerik team
 answered on 14 Feb 2012
0 answers
110 views
I'm using DataViz but have some bars with long titles, for example Jasmine Cottage in my screen capture. Is it possible to specify the maximum width for the label so the text wraps onto multiple lines. If it's really long text then maybe the option to trim it and show an ellipsis (...)?
Richard
Top achievements
Rank 1
 asked on 14 Feb 2012
3 answers
99 views
Hi,

I have run into an issue where the grid is unable to group on complex data.  If you take a look at this sample (http://jsfiddle.net/CuinnWylie/c7hv4/ ) you'll see some test MSDS data.  Try to drag the Areas column into the grouping section and you should run into the problem.

What happens for me is that the grouping is applied, but the header is not dropped into the grouping area and stays attached to the mouse pointer.  Also, the grouping area becomes hidden/minimised.  The other column headers are able to be successfully dropped into the grouping area.  This only seems to be corrected once the page is refreshed.

I have not attempted to debug this myself yet, but might look into it this week if I get the time.  Would be good if I can get an indication of whether this is a bug, or if this is simply not intended usage for this control.

Regards,
Cuinn.
Rosen
Telerik team
 answered on 14 Feb 2012
3 answers
4.6K+ views
I just want one column in my grid to be sortable. I was thinking I could make the grid set to "sortable: false" and put "sortable: true" on my one column, but no dice.

Joe
Top achievements
Rank 1
 answered on 14 Feb 2012
5 answers
233 views
Hi,

I'm trying to use a Ribbon Bar inside of an iFrame. The iFrame is hosted in a kendoUI Window.
Everything is working fine in Firefox.
In IE9 however, I'm getting a whole bunch of errors saying that some objects are undefined.

For example:

SCRIPT5009: "Array" ist undefiniert
WebResource.axd?d=nETz4_IM_aEemtqRYSzycw8SrL3cgvmF54HoMX-OCJUGuepfKRveqXGF9MKJandwWOMMNGOBlBi1o7hdVanR8smNb1jevPMSxtaa578Zrf81&t=634618768644240867, Zeile 45 Zeichen 1
SCRIPT5009: "Array" ist undefiniert
WebResource.axd?d=nETz4_IM_aEemtqRYSzycw8SrL3cgvmF54HoMX-OCJUGuepfKRveqXGF9MKJandwWOMMNGOBlBi1o7hdVanR8smNb1jevPMSxtaa578Zrf81&t=634618768644240867, Zeile 45 Zeichen 1
SCRIPT5009: "Function" ist undefiniert
Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl02_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3ade-DE%3a89093640-ae6b-44c3-b8ea-010c934f8924%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2011.3.1324.40%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3ade-DE%3adabb5aeb-caf3-49fd-8d54-706f88de89f2%3a16e4e7cd%3af7645509%3a24ee1bba%3aa675b4ab, Zeile 6 Zeichen 1
SCRIPT5009: "Function" ist undefiniert
Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl02_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3ade-DE%3a89093640-ae6b-44c3-b8ea-010c934f8924%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2011.3.1324.40%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3ade-DE%3adabb5aeb-caf3-49fd-8d54-706f88de89f2%3a16e4e7cd%3af7645509%3a24ee1bba%3aa675b4ab, Zeile 6 Zeichen 1
SCRIPT5009: "Error" ist undefiniert
CreateUserAndBookServices.aspx, Zeile 41 Zeichen 34
SCRIPT5009: "Error" ist undefiniert
CreateUserAndBookServices.aspx, Zeile 41 Zeichen 34
SCRIPT5009: "Sys" ist undefiniert
CreateUserAndBookServices.aspx, Zeile 51 Zeichen 1
SCRIPT5009: "Sys" ist undefiniert
CreateUserAndBookServices.aspx, Zeile 51 Zeichen 1
SCRIPT5009: "Telerik" ist undefiniert
CreateUserAndBookServices.aspx, Zeile 260 Zeichen 1
SCRIPT5009: "Telerik" ist undefiniert
CreateUserAndBookServices.aspx, Zeile 260 Zeichen 1
SCRIPT5009: "$telerik" ist undefiniert
CreateUserAndBookServices.aspx, Zeile 147 Zeichen 5

Any ideas?

Thanks,
Lars
Atanas Korchev
Telerik team
 answered on 14 Feb 2012
4 answers
179 views
Hi,

The code below works perfectly in Chrome and FF, however in IE8-9-10 it does not display good and does not open the popup as expected...

<html>
<head>
    <title></title>
    <link href="css/kendo.common.css" rel="stylesheet" type="text/css" />
    <link href="css/kendo.default.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" action="Default.aspx">
    <div>
        <input id="timepicker" />
    </div>
    </form>
 
    <script src="js/jquery.js" type="text/javascript"></script>
    <script src="js/kendo.core.js" type="text/javascript"></script>
    <script src="js/kendo.fx.js" type="text/javascript"></script>
    <script src="js/kendo.popup.js" type="text/javascript"></script>
    <script src="js/kendo.timepicker.js" type="text/javascript"></script>
 
    <script type="text/javascript">
        $(document).ready(function () {
            $("#timepicker").kendoTimePicker();
        });
    </script>
</body>
</html>

The attached file show how it looks in IE...

Did I missed something?

Regards,
Peter
Peter
Top achievements
Rank 1
 answered on 14 Feb 2012
3 answers
281 views
I have code which creates a grid.

When the user pressed the "Refresh" button, my code then destroys this grid and recreates it again.

For some reason, when you recreate the grid, the grouping doesn't work. You drag a column into the grouping banner, but then it just doesn't stick there.

I have created a simple working example here: http://jsfiddle.net/xmpzk/1/ 

Press the button "Create", and you see the grid appear. You can happily drag column headers into the grouping banner.

Then press the button "Refresh". This time, you will find that you cannot drag columns.

Just in case jsFiddle is down:

The HTML:
<button type="button" id="refreshButton">Create Grid</button>  

<div id="demoGrid">
    
</div>


The Javascript:

function createGrid({

    var dataSource {
        data[
            {
            FirstName"Harold",
            LastName"Kumar",
            City"London",
            Title"Mr",
            Age63}
              ]
    };
    $("#demoGrid").empty().kendoGrid({
        height250,
        scrollabletrue,
        sortabletrue,
        filterabletrue,
        pageabletrue,
        groupabletrue,
        dataSourcedataSource,
        columns[
            {
            field"FirstName",
            title"First Name"},
        {
            field"LastName",
            title"Last Name"},
        {
            field"City"},
        {
            field"Title"},
        {
            field"Age"}
        ]
    });
    $("#refreshButton").text("Refresh Grid");
};

// createGrid();

$("#refreshButton").click(function({
    createGrid();
});​ 










Andrew
Top achievements
Rank 1
Iron
Iron
 answered on 14 Feb 2012
2 answers
258 views
I'm evaluating Kendo mobile for an upcoming project and am not having much luck getting a select handler on the tab strip to work as it should. I have this very simple page set up (using PhoneGap) and whenever I try to add a select handler, the UI completely fails to render and all I see is a white page with the text from all the views (no tab strip, no header, etc). If I remove the select handler, things render fine. 

<!DOCTYPE html>
<html>
  <head>
  <title></title>
   
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" />
    <meta charset="utf-8">
 
 
    <!-- iPad/iPhone specific css below, add after your main css >
    <link rel="stylesheet" media="only screen and (max-device-width: 1024px)" href="ipad.css" type="text/css" />       
    <link rel="stylesheet" media="only screen and (max-device-width: 480px)" href="iphone.css" type="text/css" />      
    -->
    <!-- If your application is targeting iOS BEFORE 4.0 you MUST put json2.js from http://www.JSON.org/json2.js into your www directory and include it here -->
    <script type="text/javascript" charset="utf-8" src="js/phonegap-1.4.1.js"></script>
  <script>
    if (typeof window._nativeReady === "undefined")
        window._nativeReady = true;
  </script
    <script type="text/javascript" charset="utf-8" src="js/jquery.min.js"></script>
    <script type="text/javascript" charset="utf-8" src="js/app.js"></script
  <script src="js/kendo.mobile.min.js"></script>
  <link href="styles/kendo.common.min.css" rel="stylesheet" />
  <link href="styles/kendo.mobile.all.min.css" rel="stylesheet" />
  <script type="text/javascript">
 
 
    // If you want to prevent dragging, uncomment this section
    /*
    function preventBehavior(e)
    {
      e.preventDefault();
    };
    document.addEventListener("touchmove", preventBehavior, false);
    */
     
    /* If you are supporting your own protocol, the var invokeString will contain any arguments to the app launch.
    for more details -jm */
    /*
    function handleOpenURL(url)
    {
        // TODO: do something with the url passed in.
    }
    */
     
    function onBodyLoad()
    {      
        document.addEventListener("deviceready", onDeviceReady, false);
    }
     
    /* When this function is called, PhoneGap has been initialized and is ready to roll */
    /* If you are supporting your own protocol, the var invokeString will contain any arguments to the app launch.
    for more details -jm */
    function onDeviceReady()
    {
        // do your thing!
               App.requireSession();
 
    }
     
    </script>
  </head>
  <body onload="onBodyLoad()">
  <div data-role="view" id="tabstrip-card" data-init="cardViewInit" data-title="My card" data-layout="mobile-tabstrip">
    card
  </div>
   
  <div data-role="view" id="tabstrip-providers" data-title="Providers" data-layout="mobile-tabstrip">
    providers!
  </div>
 
  <div data-role="view" id="tabstrip-savings" data-title="My savings" data-layout="mobile-tabstrip">
    savings!
  </div>
 
  <div data-role="view" id="tabstrip-logout" data-title="Log out" data-layout="mobile-tabstrip">
    log out!
  </div>     
 
  <div data-role="layout" data-id="mobile-tabstrip">
    <header data-role="header">
        <div data-role="navbar">
            <!--<a class="nav-button" data-align="left" data-role="backbutton">Back</a>-->
            <span data-role="view-title"></span>
            <a data-align="right" data-role="button" class="nav-button" href="#index">Index</a>
        </div>
    </header>
 
    <footer data-role="footer">
        <div data-role="tabstrip" id="footer-tabs">
            <a href="#tabstrip-card" data-icon="contacts">My card</a>
            <a href="#tabstrip-providers" data-icon="history">Providers</a>
            <a href="#tabstrip-savings" data-icon="favorites">My savings</a>
            <a id="logout" href="#tabstrip-logout" data-icon="settings">Log out</a>
        </div>
    </footer>
  </div>
 
  <script>
  
    $(document).ready(function() {
        var tabStrip = $("#footer-tabs").data("kendoMobileTabstrip");
        tabStrip.bind("select", function(e) { alert(1); })
    });
  </script>
 
  <script>
     window.kendoMobileApplication = new kendo.mobile.Application(document.body);
  </script>
  </body>
</html>
Chad
Top achievements
Rank 1
 answered on 14 Feb 2012
2 answers
80 views
Hello,

I have been playing with this for a few days now.  I have a window with a tab strip in it.  There are 2 buttons to open the window, each button corresponds to a tab in my tab strip.  When I click the buttons, I am able to open the window and display the appropriate tab as selected, but for some reason, the information being shown does not track along.

For example.  I open the window to tab 2, but the data for tab 1 is being displayed.  
Here's a very simplistic reproduction of the issue: http://jsfiddle.net/jkappel/6UXZs/

As always, any help will be greatly appreciated!
Jay
Top achievements
Rank 2
 answered on 13 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?