Telerik Forums
Kendo UI for jQuery Forum
1 answer
171 views
Hi, we are trying to add content padding to the editor. We used the following method to do it, which it works but the problem with this method is, as soon as we set the padding the Scrollbar of the Editor will become visible even though there is not content in it. Herewith below is our way to add content padding to the Editor:

$("#details").data("kendoEditor").body.style.padding = "5px";

Please advise:
1. What is the best way to add content padding to the Editor?
2. If the above method is recommended, how can we solve the unnecessary Scrollbar activation issue?

Thank you.
Dimo
Telerik team
 answered on 10 Dec 2013
1 answer
118 views
When can we expect the visual studio 2013 extensions for MVC 5?
There is currently no support for Kendo in Visual Studio 2013. You have stated that you will have support once the product is released, but it has been out for a while now, and there still doesn't appear to be any support?
Also, I noticed that in Visual Studio 2012 and MVC 4, the kendo project template was virtually identical to the Microsoft default template, except that you deleted all the ASP.NET identity related code. Why did you do that, and are you planning on taking the same approach in MVC 5? I am hoping that the default Kendo template for MVC 5 will include the Microsoft template in it's entirety. I also noticed that in VS 2012, the default kendo project included the default jQuery css file, but also added one in the kendo folder. Why didn't you just use the one that Microsoft includes in the default template?
Petar
Telerik team
 answered on 10 Dec 2013
4 answers
206 views
Sorry if this is a really dumb question - I'm sure it will be something obvious - but why do I get an Uncaught TypeError when I do kendo.observable (and kendo.bind) in the code below?

Trying to follow the examples but falling at the first hurdle!

Many thanks!

<!DOCTYPE html>
<html>
<head>
    <title>Test page</title>
    <script src="js/kendoui/jquery-1.7.1.js"></script>
    <script src="js/kendoui/kendo.all.js"></script></head>
<body>
    <span data-bind="text: name"></span>
     <script>
        var viewModel = kendo.observable({
            name: "John Doe"
        });
        kendo.bind($("span"), viewModel);
    </script>   
</body>
</html>


Markus
Top achievements
Rank 1
 answered on 10 Dec 2013
7 answers
649 views
- Using Browser "IE9"
- compatibility mode IE7 or  compatibility mode IE8
- HTML header in <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

http://demos.kendoui.com/web/datepicker/index.html

choose date not selected!!

the calendar opens up but it does not selected
Georgi Krustev
Telerik team
 answered on 10 Dec 2013
6 answers
418 views
Hi,

i have a master grid displaying on a page, depending on the selection of the grid row, have to generate a dynamic url to be passed to the datasource of grid2 and this reloads the data into grid 2.

is there a way where on change event of grid 1: i can pass a parameter via datasource.read() for loading data into grid 2 dynamically.\


thanks in advance.

R
rupendra
Top achievements
Rank 1
 answered on 10 Dec 2013
1 answer
89 views
Is the MobileThemeBuilder for the flat/universal application available?  I thought it was to be part of Q3 - but I can't find it.
Thanks!
Bill
Kamen Bundev
Telerik team
 answered on 10 Dec 2013
4 answers
467 views
Given a view model, I have tried the following;

var viewModel = new kendo.observable({
   Items: [],
  onUpdateItems: function(e){
     console.log('updating items');
 }
});
viewModel.Items.bind('change', function(e){
  viewModel.onUpdateItems(e);
});
 
viewModel.trigger("change", { field: "Items" });
This does not cause the function to trigger. Though if I actually change items in the view, like interacting with it, it causes the function to fire. This doesn't make a lot of sense to me.
Atanas Korchev
Telerik team
 answered on 10 Dec 2013
1 answer
86 views
Using the example i have a login / logout link on the drawer.
Now my question is how do i go about hiding the ">" that is placed after the link. in this case i am not calling another view but want to do an action.

<div data-role="drawer" id="my-drawer" style="width: 270px" data-views="['drawer-home', 'drawer-settings' ">
    <ul data-role="listview" data-type="group">
        <li>Application
            <ul>
                <li data-icon="inbox"><a href="#drawer-home" data-transition="none">Show</a></li>
            </ul>
        </li>
      
        <li>Account
            <ul>
                <li data-icon="settings"><a href="#drawer-settings" data-transition="none">Settings</a></li>
                <li data-icon="off" id="logintext" ><a href="#" onclick="app.LoginLogout()">Login</a></li>
            </ul>
        </li>
    </ul>
</div>
Kiril Nikolov
Telerik team
 answered on 10 Dec 2013
2 answers
61 views
Hi.
I was struggling those days with a listview.
Basically, I want to load data remotely.

Here-s the html code:

     <div data-role="view" data-init="initListView">
        <ul id="listView"></ul>
    </div>
        
      <script type="text/x-kendo-template" id="foo-template">
        #: data #
     </script>

And here's the javascript code:
 function initListView(e) {
            var dataSourcevar = new kendo.data.DataSource({
                transport: {
                    read: {
                    // the remote service url
                    url: "http://localhost/PCW/list.php",

                    // JSONP is required for cross-domain AJAX
                    dataType: "jsonp"                    
            }
        }
        });
            
            dataSourcevar.fetch(function() {
              var products = dataSourcevar.data();
              console.log(products[0].ProductName);
            });
            
            e.view.element.find("#listView").kendoMobileListView({
                template : $("#foo-template"),
                dataSource: dataSourcevar
            });
        }
I'm loading data from a localhost script made in php. The script displays:
callback([{"id":"1","name":"Chihuahua","picture":"Chihuahua.jpg"},{"id":"2","name":"chow-chow","picture":"chow-chow.jpg"}])

However, neither the data it's displayed, neither the javascript log displays something.
Please help
Iacob
Top achievements
Rank 1
 answered on 09 Dec 2013
4 answers
117 views
Hi
We have a problem with ComboBox, that can be reproduced with your online demos.
Our ComboBox should accept every numerical input and not only the items in the corresponding list.
If we enter a number and press Enter immediately, then the input will not be accepted. 
If we wait for a short time before pressing Enter, the new value is accepted correctly.
It seems to me, that the delay (the configuration property) is the time to wait for.
Steps to reproduce the error:
- Go to the basic usage demo of the ComboBox
- Clear the "T-shirt Size" combo
- enter a number and press Enter IMMEDIATELY.
- The message box will tell you, that you ordered the size "X-Small", no matter of  your input
- Repeat the steps but wait a second before pressing Enter. Now the size will be stated correctly, according to your input. 
Thank you for any help!
Werner
Top achievements
Rank 1
 answered on 09 Dec 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?