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!
|
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
|