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

RadGrid Loading Image

7 Answers 268 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Barry Burton
Top achievements
Rank 1
Barry Burton asked on 08 Jul 2013, 07:17 PM
I have a grid with an attachment column and every time I download an image, the Rad Grid status bar loading image just sits there a spins. Is there a way to hide or better yet, control the loading image?  

Please note, I am NOT referring to a RadAjaxLoadingPanel loading image, I know how to manage that...I am referring to the little spinner in the lower left hand side of the grid that is visible on post back.


7 Answers, 1 is accepted

Sort by
0
Accepted
Jayesh Goyani
Top achievements
Rank 2
answered on 09 Jul 2013, 05:52 AM
Hello,

Please try with the below code snippet.

<style type="text/css">
        .RadGrid_YourSkinName .rgStatus div
        {
            background-image: none !important;
        }
    </style>


Thanks,
Jayesh Goyani
0
Princy
Top achievements
Rank 2
answered on 09 Jul 2013, 08:44 AM
Hi Barry,

Another solution to your problem is, set the ShowStatusBar="false" property for the radgrid to not set the loading image.
Hope this helps.

Thanks,
Princy
0
Barry Burton
Top achievements
Rank 1
answered on 09 Jul 2013, 11:06 AM
That's exactly what I needed...thanks! 
0
Albert Shenker
Top achievements
Rank 1
Veteran
Iron
answered on 29 Jan 2014, 02:56 PM
Is it my understanding that this is a bug in the Status bar loading image? In other words, it is not automatically disappearing as it should in this file download scenario, and the only solution is to hide it altogether?
0
Princy
Top achievements
Rank 2
answered on 30 Jan 2014, 04:19 AM
Hi Albert,

The GridStatusBarItem displays the information about the current grid status. This item is intended primarily for use when RadGrid is used with RadAjaxManager to indicate when RadGrid is performing asynchronous AJAX requests. So if the StatusBar item doesn't stop means there may be some issue in your code that may not be working properly. Check your RadAjaxManager code. Please provide your code snippet if you are not able to resolve the issue.

Thanks,
Princy
0
Albert Shenker
Top achievements
Rank 1
Veteran
Iron
answered on 07 Feb 2014, 04:31 PM
Whenever you cancel the ajax update client-side by handling the RequestStart event and settting ajaxEventArgs.set_enabledAjax(false) (like when using an attachment column to download an attachment, or exporting grid results using the grid's export functionality), the grid's loading image continues to display after the postback. This is true if the entire grid container is ajaxified. I'm not sure if it occurs if you only ajaxify the grid.
0
Maria Ilieva
Telerik team
answered on 12 Feb 2014, 11:21 AM
Hello Albert,

The described behavior is most probably caused by a js error that appear on the page and prevents the ResponseEnd event to fire. Could you please inspect your response in the browser console and verify if any errors appear?

Regards,
Maria Ilieva
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Grid
Asked by
Barry Burton
Top achievements
Rank 1
Answers by
Jayesh Goyani
Top achievements
Rank 2
Princy
Top achievements
Rank 2
Barry Burton
Top achievements
Rank 1
Albert Shenker
Top achievements
Rank 1
Veteran
Iron
Maria Ilieva
Telerik team
Share this question
or