Friday, May 9, 2014

conditionally hiding the spinner at a DevExpress ASPxCallbackPanel in ASP.NET web forms

For all of the would-be other ways I saw in Googling against this problem, I recommend using some jQuery like this upon callback:

$(".dxcpLoadingPanelWithContent_PortalDefault").attr('style', "display: none;");

 
 

Turning things back on like so however...

$(".dxcpLoadingPanelWithContent_PortalDefault").attr('style', "display: block;");

 
 

...is not recommended. It will sabotage styles that the spinner should have. The spinner will get jacked. So, plan carefully.

No comments:

Post a Comment