Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesHow To Show Spinning (Wait) Image?How To Show Spinning (Wait) Image?
Previous
 
Next
New Post
10/14/2011 9:32 PM
 
I've written Server-Side code that imports a large amount of data into the DNN Tables.  However, when the user clicks the "Next" button on my Wizard control which kicks off the import process, visually it just hangs until the process is completed. To the end user, it looks like the site froze.

How can I blank the popup window & display that spinning circle animation like I see done on several other areas?

Thank for any help!

Ben Santiago, MCP Certified & A+ Certified
Programmer Analyst
(SQL, FoxPro, VB, VB.Net, Java, HTML, ASP, JSP, VBS, Cognos ReportNet)
 
New Post
10/15/2011 4:05 PM
 
go into your module control (host->extensions) and check "enable partial rendering" and it will wrap your module in an updatepanel. When a server-side request happens rather than a postback an ajax request will happen and the spinning wheel will appear.

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
10/17/2011 8:08 AM
 
Cathal,

Thank you for your response.  Problem is that the Popup Window where I have my ControlPage uses an ASP Wizard and allows a user to upload a file. If I allow "Partial Rendering", then the PostBack event doesn't fire and I can't click NEXT on my Wizard, and the uploading ability doesn't work.

Any other ideas on how I can show some sort of wait message/graphic to my user while my import is working?

Ben Santiago, MCP Certified & A+ Certified
Programmer Analyst
(SQL, FoxPro, VB, VB.Net, Java, HTML, ASP, JSP, VBS, Cognos ReportNet)
 
New Post
10/17/2011 9:20 AM
 
thats your problem - you need to upload the file and then show the message - there are a few typical approaches - find an async file upload tool or do the upload and import on seperate wizard functions so you can inject a message

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
10/17/2011 11:38 AM
 
Ok, if you don't mind...let me describe what I have and maybe you can point me in the proper direction? 

I have an ASP: Wizard object defined with the following steps:
   WizardStep0: File Upload Request
   WizardStep1: Error Message Display (If Bad File Uploaded)
   WizardStep2: Request SQL Admin Credentials (Needed For Import Routine)
   WizardStep3: Display Results Of Import

My Issue is between Step 2 & 3. When on Step 2 and the user clicks NEXT, the page just hangs there (appearing frozen to the user) while the ServerSide code imports the data. It's at this point that I would like to show some sort of message or animation to alleviate the users anxiety of staring at a "frozen" screen. We have VERY impatient end-users that will most likely close out of any forms that don't respond in a few seconds.

Any suggestions?

Ben Santiago, MCP Certified & A+ Certified
Programmer Analyst
(SQL, FoxPro, VB, VB.Net, Java, HTML, ASP, JSP, VBS, Cognos ReportNet)
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesHow To Show Spinning (Wait) Image?How To Show Spinning (Wait) Image?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out