This is a migrated thread and some comments may be shown as answers.

loading ajax spinner

1 Answer 333 Views
Window
This is a migrated thread and some comments may be shown as answers.
Sharif
Top achievements
Rank 1
Sharif asked on 21 Oct 2013, 03:35 PM
I had loading ajax spinner working in my MVC project. When I convert my project to use Kendo UI it stopped working. Because it there is no dialog method in Knedo Ui. I post my old code can you help me convert this code to work with Kendo 
Thanks

  
        var loader = $('#loader').dialog({ autoOpen: false, modal: true, resizable: false, width: 150, height: 50 });
        $(".ui-dialog-titlebar").hide();
        
        loader.ajaxStart(function () {
              $(this).dialog('open');
     
        }).ajaxStop(function () {
              $(this).dialog('close');
        });

1 Answer, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 23 Oct 2013, 10:50 AM
Hi Sharif,

You can use the Kendo UI progress bar to show it in your application using:

kendo.ui.progress($("#someElementId"), true) 

kendo.ui.progress($("#someElementId"), false)

I really hope this helps!
 
Regards,
Kiril Nikolov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Window
Asked by
Sharif
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Share this question
or