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.
 
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
 
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?


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Attend A Webinar
Start  Professional Edition Trial
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

Sponsors

DotNetNuke Corporation

DotNetNuke (DNN) provides a suite of solutions that make designing, building and managing feature-rich sites and communities fast, easy and cost-effective. The DotNetNuke Platform CMS is the foundation for more than one million websites worldwide. DNN Social, our newest solution, enables businesses to create immersive, interactive communities. Thousands of organizations like True Value Hardware, Bose, Cornell University, Glacier Water, Dannon, Delphi, USAA, NASCAR, Northern Health and the City of Denver have leveraged DNN to deploy highly engaging business- critical websites. Our rapid growth in product sales and deployments resulted in DotNetNuke Corp. being named one of the fastest growing private companies in America by Inc. Magazine in 2011 and 2012.