Telerik Forums
Kendo UI for jQuery Forum
2 answers
90 views
Is it possible to get the cascading drop down to remember its last state on a post back?


Richard Wilde
Top achievements
Rank 1
 answered on 20 Nov 2013
2 answers
145 views
I'm useing Drawer and ListView and want ot add pull to refresh with custom template for ListView.
This is the code:
<script type="text/x-kendo-tmpl" id="pull-to-refresh-template">
    <div class="portpos">
        <a href="#drawer-drafts2?id=#:p_portfelj_id#">
            <span class="h3x">#:ime_portfelja#</span>       
            <div class="portfelj change #:trend#">
                DanaĆĄnja sprememba
            <big>#:tadan#</big>
            </div>
            <div class="portfelj state">
            <span class="title">Trenutna vrednost</span>
            <big>#:stanje#</big> <small>EUR</small>
         </div>
        </a>
    </div>
</script>


It produces JavaScript error, I assume beacause of hash for drawer. If I remove hash Javascript works but link bokes.

Any ideas how to overcome this?
Petyo
Telerik team
 answered on 20 Nov 2013
1 answer
40 views
Hi,

The Back Button is not showing for 2013 Q2 or Q3 Beta. I have a simple test set up and the Back Button will not show unless I go back to Q1 for the   
kendo.mobile.all.min.css stylesheet. If I add in the stylesheet from my Q2 or Q3 Beta download, the button does not show even though the link function is there - you just can't see it.

If I reference   <link href="http://cdn.kendostatic.com/2013.1.319/styles/kendo.mobile.all.min.css" rel="stylesheet" /> for the style sheet, the button is visible.

Can you confirm the issue?

As I mentioned before, I tried the js and css files from Q2 (v2013.2.918) and Q3 Beta (v2013.3.1030). The only thing that worked was pointing to the Q1 version of the style sheet on the CDN.

Below is my test page.

Thanks.

<!DOCTYPE HTML>
<html lang="en">
<head>
    <script src="js/kendo/jquery.min.js"> </script>
    <script src="js/kendo/kendo.mobile.min.js"></script>
    <link href="styles/kendo/kendo.mobile.all.min.css" rel="stylesheet" />
     <style>
     .no-backbutton .km-back { visibility: hidden; }    
   </style>
</head>
<body>
    <div data-role="view" id="mt-home-main-view" data-title="Movie Tickets" data-show="homeViewInit" data-layout="mt-main-layout" class="no-backbutton">
        Home Page View
        
    </div>

    <!-- about view -->
    <div data-role="view" id="mt-about-view" data-title="About" data-layout="mt-main-layout">
        <div style="padding: 15px">
            This is a sample application developed for the book 
            Building Mobile Applications using Kendo UI Mobile and ASP.NET Web API 
        </div>
    </div>

    <div data-role="layout" data-id="mt-main-layout">
        <header data-role="header">
            <div data-role="navbar">
                <a data-align="center" data-role="backbutton">Back</a> 
                <span data-role="view-title">Movie Tickets</span>
            </div>
        </header>
        <footer data-role="footer">
            <div data-role="tabstrip">
                <a href="#mt-home-main-view">
                    <img src="images/movies.ico"
                        height="40" width="40" /><br />
                    Movies
                </a>
                <a href="Trailers.html">
                    <img src="images/trailers.ico" height="40" width="40" /><br />
                    Trailers
                </a>
                <a href="#mt-about-view" data-icon="about">
                    <br />
                    About
                </a>
            </div>
        </footer>
    </div>
    <script>
        var application = new kendo.mobile.Application(document.body,
        {
            transition: 'slide',skin:'flat'
        });

        console.log(application.view);

    </script>
</body>
</html>

Kamen Bundev
Telerik team
 answered on 20 Nov 2013
2 answers
568 views
The Json value of kendodatepicker that is received at .net csharp code is "\"2013-11-18T03:38:21.843Z\""What is the best and universal way to parse/convert this format to c# DateTime ?
Georgi Krustev
Telerik team
 answered on 20 Nov 2013
1 answer
244 views
i Kendo Team

we have a viewmodel with a list of child records (bound with a template). To show and hide child records we use a function like the following:

Function;
        Visible: function (e) {
            if (this.parent().parent().get("DebitorFilter") == null || this.KUNNR == null)
                return true;
            else
                return this.parent().parent().get("DebitorFilter") == this.KUNNR;
        }
Binding: "<div class="LabelDetailTemplate" data-bind="visible: Visible">"

So far it's working as expected when adding new records, but if property KUNNR changes in the parent object the visible function of the child records is not called again and the items stays hidden.
What are we doing wrong or do we have to create a property "visible" and refresh it manually when the KUNNR has changed?

Thanks in advanced and best regards
Daniel
Petyo
Telerik team
 answered on 20 Nov 2013
5 answers
1.6K+ views
Thanks in advance..
Alexander Valchev
Telerik team
 answered on 20 Nov 2013
11 answers
273 views
My application has started to overlay the top status bar on all ios devices. As a result, keyboard entry, navigation and other features no longer work properly. I found this: http://docs.icenium.com/troubleshooting/ios7-status-bar , but my issue is not ios7 specific, and adjusting the margin causes the footer to sink below the bottom edge of the screen.

I can't remember doing anything that would specifically effect the display. Perhaps someone has encountered this previously?
Kamen Bundev
Telerik team
 answered on 20 Nov 2013
3 answers
112 views
Hi,

I am using the Bubble chart, could be possible to add opacity to each bubble?

I would like to modify the opacity of each bubble to create a dinamicaly "trail" with the same bubble with different values.

Thanks,
Luis
Mark
Top achievements
Rank 1
 answered on 19 Nov 2013
7 answers
2.3K+ views
Hi,
I have a grid in batch edit mode.
I'm trying to update other cells values based  on the changes I make to the current edited cell but I'm not able to do that.
The value I set in another cell is  there but it is not visible until I click on that cell and I don't know why.
I was trying to refresh the grid but on grid refresh, the current cell exits the edit mode and I don't want this to happen (I have 2 values that I want to edit in a single cell).
Also I can see that the updated cells that are on the same row with the current edited cell are updated automatically, so my problem refers only to the cells that belongs to another row.
Can you help me with that, please ?
Thanks!

Crina
Dimiter Madjarov
Telerik team
 answered on 19 Nov 2013
1 answer
90 views
I'm using the following code to define a custom button background icon:                  
       <style>
                            .km-root .km-pane .km-view .km-logo {
                                background-image: url(styles/images/icon40.png);
                                background-size: 100% 100%;
                            }
                        </style>

For some reason it only works on android. IOS shows a blank button. Any thoughts?

Also, is there any way to make the icon span the entire button? Or else to set the gray part to transparent?
Michael
Top achievements
Rank 1
 answered on 19 Nov 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?