Telerik Forums
Kendo UI for jQuery Forum
1 answer
49 views

Hi, I just came into contact with Kendo UI. I think it is very powerful, especially the function of MVVM is very easy to use.

I have a question that I haven't understood. After setting the data of the datasource, you can operate on it, but the schema.model property can set the information of the data field. Is this unnecessary?

I never know the relationship between datasource and schema. Model. It seems that I don't set schema. Model and datasource works normally.

Can any engineer explain their specific links and functions? Thank you for your help.

 

Martin
Telerik team
 answered on 05 Oct 2021
3 answers
234 views
I've noticed that with ModalView in the Beta (kendoui.2012.2.621.beta.trial) it doesn't work both in example or via demo code.

That is to say, you see the modal in full display (ie doesn't initially show it hidden). When You also click on the Login button you get the following error:

  1. Uncaught TypeError: Cannot read property 'nextView' of undefined kendo.mobile.min.js:8
    1. h.extend.replacekendo.mobile.min.js:8
    2. c.Observable.extend.navigatekendo.mobile.min.js:8
    3. c.Observable.extend._findViewkendo.mobile.min.js:8
    4. c.Observable.extend.navigatekendo.mobile.min.js:8
    5. c.Observable.extend._startHistory.e.changekendo.mobile.min.js:8
    6. A.extend.triggerkendo.mobile.min.js:8
    7. c.Observable.extend.navigatekendo.mobile.min.js:8
    8. f.event.dispatchjquery.min.js:3
    9. f.event.add.h.handle.ijquery.min.js:3

Petar
Telerik team
 answered on 28 Sep 2020
2 answers
30 views

Hello,

 

I have a Kendo UI Mobile ModalView that I use as a message dialog. It is rather simple (html code below),

and used to work fine by calling open and close methods and changing view data in between.

Now I have a situation where the modal view is already open and needs to be closed and

immediately reopened again with new data. It goes like this:

$("#modalview-alert").data("kendoMobileModalView").close();

changeSomeAlertData();  // update title and message text

$("#modalview-alert").data("kendoMobileModalView").open();  // opens view but immediately closes it

However the view doesn't reopen, apparently previous close method closes it too.

I tried to put a delay around close and I see that the view is reopened but immediately

closed after delay expires. Later on reopen works OK, this problem only happens if

open is done immediately after close. How can I close and immediately open the modal view again?

Thanks.

 

ps I use it on Android 7.0, Samsung Internet.

 

Regards,

Oleg

    <div data-role="modalview" id="modalview-alert" data-close="onModalViewAlertClose">
        <div data-role="header">
            <div data-role="navbar">
                <span id="modalview-alert-title"></span>
                <a data-click="closeModalViewAlert" data-role="button" data-align="right">X</a>
            </div>
        </div>
        <div id="modalview-alert-body" style="position: relative">
            <div id="modalview-alert-message"></div>
        </div>
        <div data-role="footer">
            <div id="modalview-alert-buttons" data-role="navbar"></div>
        </div>
    </div>
Oleg
Top achievements
Rank 1
 answered on 10 Jul 2018
8 answers
158 views
The following sample is self explanatory and I would be surprised if it were by design:
<!DOCTYPE html>
<html>
<head>
    <title></title>
    <script src="http://code.jquery.com/jquery-1.8.2.min.js" type="text/javascript"></script>
    <script src="http://cdn.kendostatic.com/2012.3.1114/js/kendo.all.min.js" type="text/javascript"></script>
</head>
<body>
<div data-role="view">
    <a data-role="button" href="#foo" data-rel="modalview">This triggers logTarget</a>
    <a data-role="button" data-click="open">This does not trigger logTarget</a>
    <div id="console"></div>
</div>
<div data-role="modalview" id="foo" data-open="logTarget">
    This is a simple modal view
</div>
<script>
    $(function(){
        new kendo.mobile.Application();
    });
 
    function open(e) {
        var modalView = $('#foo').data('kendoMobileModalView');
        modalView.open();
    }
 
    function logTarget(e) {
        $('#console').append('logTarget Triggered');
    }
</script>
</body>
</html>
Nencho
Telerik team
 answered on 06 Oct 2017
1 answer
402 views

Hi,

With reference to using component with dialog service (http://www.telerik.com/kendo-angular-ui/components/dialog/service/#toc-usage), I have a form inside the component and I would like to submit the form and close the modal using a button from inside the component rather than using the action buttons.

How should I go about achieving that?

Please refer to the following plunker: 

http://plnkr.co/edit/Qq50UCo0jTaqUBYI4hq3?p=preview

Thanks.
Alex Gyoshev
Telerik team
 answered on 31 Aug 2017
3 answers
2.9K+ views

Hello,

i have a feature request for Kendo UI for Angular 2. It would be nice to have possibility to create dialogs without 'x' in the top right corner. For example if one wants to create a confirmation dialog hat only has 'yes'/no  buttons that user has to choose from, without possibility to dismiss dialog with 'x'.

Dimiter Topalov
Telerik team
 answered on 09 Aug 2017
1 answer
426 views

Hello,

starting from the example in this page http://www.telerik.com/kendo-angular-ui/components/dialog/service/#toc-specify-custom-actions ,

there is a way to assign a custom action for the [x] close button? I have to assign a guard before close dialog

Thank's

Joana
Telerik team
 answered on 10 May 2017
1 answer
40 views

Hello!

I've just update dialog module to fix dialogservice issues, but now modals are not centered.
How can I fix?
Thank's!!

Tsvetina
Telerik team
 answered on 09 May 2017
1 answer
35 views

Hello,

As the title states, when you create a text input inside of a modal view, the background image is undefined.  This does not cause any functional issues however it is annoying that requests are made for undefined on each load of the modal view.  You can see the issue in your mobile modal demo at https://demos.telerik.com/kendo-ui/m/index#modalview/index.  Open the modal view, inspect either of the text inputs and you will see the background-image points to an undefined url.

Thanks,

Matt

Alex Hajigeorgieva
Telerik team
 answered on 26 Aug 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?