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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0How do I make the AJAX Progress Bar control appear?How do I make the AJAX Progress Bar control appear?
Previous
 
Next
New Post
6/15/2007 7:24 AM
 

I have a module using standard ASP.NET controls e.g. the gridview.

If I turn on partial rendering, the AJAX appears to be working e.g. no page reloads when the grid is fetching pages of data but I do not see a progress control appear.

I am using DNN 4.5.3 and obviously have Microsoft AJAX installed.

Do I need to add a control onto my .ascx control or hook something up in my page_load event?

I have looked at Michael Washingtons articles but it is not very clear (at least to me :-) )

Regards

Mike

 

 
New Post
6/15/2007 7:32 AM
 

If you download and install the AJAX email example: (VB) / (C#)

It has this line so that the module will delay enough for the progress bar to appear:

'Sleep so that you can see the progress indicator - remove when in production
System.Threading.Thread.Sleep(1000)

When you test this using the default skin that comes with DotNetNuke, it should work. 



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
6/15/2007 7:44 AM
 

Thanks Michael, that worked perfectly.

I did suspect that it was probably going too fast. Thank you.

Does this ajax control automatically do this when it detects that something is taking a long time?

Also,

Am I  right in thinking that if I want to completely ajax my module by using the Microsoft controls and not have DNN injecting update panels etc.., I just don't tick partial rendering?

Regards

Mike

 
New Post
6/15/2007 8:11 AM
 

Mike Grace wrote

Does this ajax control automatically do this when it detects that something is taking a long time?

Yes

Mike Grace wrote

Am I  right in thinking that if I want to completely ajax my module by using the Microsoft controls and not have DNN injecting update panels etc.., I just don't tick partial rendering?

Here is the "rule of thumb" that I use. If I have more than one independent section I need to update I must NOT use the "Supports Partial Rendering" and I must do use Update Panels that I place in the module myself.

For example, with the AJAX Email Module example,

You search for a person and it updates a grid, then you select from that grid and it updates another. In this case you have to do the Update Panels manually. Mostly because you need to indicate the triggers that will be used to determine when to perform the update for each panel. Also it allows you to NOT update the panel in the other situations.

I have used ASP.NET AJAX extensively with DotNetNuke for very large projects. Using controls from the AJAX Control Toolkit (see:Using the ASP.NET AJAX Control Toolkit) is practically a requirement at this point. Controls like masked edit are vital in a business application.

I find that each module "page" presents unique challenges. I find that I can usually only use "Supports Partial Rendering" on a simple module "page". On a large module page I usually only want a small section to be updated.



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0How do I make the AJAX Progress Bar control appear?How do I make the AJAX Progress Bar control appear?


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