Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 2.46 KB

File metadata and controls

43 lines (30 loc) · 2.46 KB

Loading Panel for ASP.NET MVC - How to show a loading panel when a page is loading

This example demonstrates how to show LoadingPanel when a View is loaded.

Implementation Details

Call the ASPxClientLoadingPanel.Show method in the Init event handler of the first DevExpress MVC Extension of the View to show a loading panel when client-side objects start initializing.

function OnLoadingPanelInit(s, e) {
    s.Show();
}

To hide the loading panel when all client-side objects are already initialized, call the ASPxClientLoadingPanel.Hide method in the Init event handler of the last DevExpress MVC Extension of the View.

function OnLabelInit(s, e) {
    lp.Hide();
}

Files to Review

More Examples

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)