Welcome Guest Search | Active Topics | Sign In | Register

Dialog ContentUrl for slow-loading pages Options
Abacus Financial Inc.
Posted: Friday, September 2, 2011 2:22:29 PM
Rank: Member
Groups: Member

Joined: 11/26/2010
Posts: 26
Hi, I'm using the Dialog control that loads a complex ASPX page through a client-side call (dlg.ContentUrl(Page.aspx); dlg.show()). The reason I'm not using the ContentTemplate is because of the complexity of the page. Everything is working as expected...however, the ASPX page(s) inside the dialog take up to 5-6 seconds to load sometimes; in the meantime, the client is stuck looking at the white space in the dialog. Any recommendations on how to make a "loading..." splash screen while the actual page is loaded?

Thanks in advance!
eo_support
Posted: Friday, September 2, 2011 2:42:44 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

Not really. This is a very common dilemma that really doesn't have anything to do with the dialog or anything else. Basically you have to start to pull that page in order for it to start to load; And as soon as you do that you will see blank. You can't really load it in the background because the browser is too smart to NOT to load it unless it is visible --- what which point user will see blank. The only reliable solution is to make your page load faster.

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.