Monday 12 January 2009

Hiding Panels in ASP.NET

When you're using the AJAX controls with Visual Studio you'll probably eventually make use of the ModalPopupExtender control. I like it.
The one issue is that you'll see it flicker while loading the page unless you add the following to the panel style:

Style="display:none"

This will ensure the panel doesn't show and then disappear during a page load.

No comments: