This is a migrated thread and some comments may be shown as answers.
Html.Telerik().Grid busy indicator keeps spinning
1 Answer 58 Views
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Top achievements
Rank 1
Jack asked on 06 Dec 2010, 08:48 PM
I have a Telerik grid in my MVC application and when the grid is empty the busy indicator keeps on spinning. There is a javascript error that I assume is a result of this. My grid is coded as:
        .DataKeys(dataKeys => dataKeys.Add(p => p.TechnicalKey))
        .DataBinding(dataBinding => dataBinding.Ajax().Select("AjaxPortableBinding", "Viewer"))
        .Columns(columns =>
                          columns.Bound(f => f.FileName).Title(Resource.AA_Index_Grid_Filename);
                          columns.Bound(f => f.Name).Title(Resource.AA_Index_Grid_Device);
                          columns.Bound(f => f.StatusText).Title(Resource.AA_Index_Grid_Status);
                          columns.Bound(f => f.StartDisplayDate).Title(Resource.AA_Detail_Job_Start);
                          columns.Bound(f => f.TechnicalKey).Format(
                                    "<select onChange='ViewerFileAction(this)'>" +
                                    "<option value='{0}'>"+ Resource.File_Grid_Select +"</option>" +
                                    "<option value='delete'>"+ Resource.File_Grid_Delete +"</option>" +
                                    "<option value='aview'>"+ Resource.File_Grid_View +"</option>" +
                                    "<option value='save'>"+ Resource.File_Grid_Save +"</option></select>").Encoded(false).Title(" ");
        .ClientEvents(config => config.OnDataBound("showNoDataText"))
        .HtmlAttributes(new { @class = "content_table" })

It works fine if there is content in the grid, but when it is empty the busy indicator just keeps spinning. How can I get it to stop spinning?

1 Answer, 1 is accepted

Sort by
Atanas Korchev
Telerik team
answered on 07 Dec 2010, 08:36 AM
Hello Jack,

 The JavaScript error will indeed cause this behavior. Could you please attach a sample project which demonstrates the case? It is hard to tell what has gone wrong.

Atanas Korchev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
General Discussions
Asked by
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question