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 to show a progress in a moduleHow to show a progress in a module
Previous
 
Next
New Post
7/12/2008 4:38 AM
 

Hi at all,

I am developing a module (Version DotNetNuke_04.08.03_Install) under .NET 2.0

The code works fine, but I want to inform the user about the progress (Simple Textoutput).

So I am using a Label, but if it is a function needing much time (saying about 2 minutes and longer), the output is done if the process has finished !

In my understanding output (rendering) is done if all events and process has finished.

So I am using Response.Write but the output will put on the first lines.

What ist the recommended way (build in functions in dotnetnuke namespace, classes, etc) in dotnetnuke for making "realtime" output or showing progress.

Please let me know or post some links, my searching was not succesfull about this.

Many thanks

George

 

 
New Post
7/13/2008 12:13 PM
 

Hi,

I am using now IFRAME in the UserControl (derived ffrom DotNetNuke.Entities.Modules.PortalModuleBase). The long process should be done in a second webpage (aspx site derived only from System.Web.UI.Page) and the state should be displayed in the IFRAME (with Response.Write during Page_Load event)

So I have a button on the UserControl which does following:

    protected void btnDoProcess_Click(object sender, EventArgs e)
    {
        HtmlControl frame1 = (HtmlControl)this.FindControl("frame1");
        frame1.Attributes["src"] = "~/DoProcess.aspx";
    }

If I press the button btnDoProcess the complete webpage will be displayed in the IFRAME (like in a mirrow)

So my questions are:

  • What URL must I declare in the Attributes Property src to redirect to the correct page And how do I get this url?
  • Now the page is located in the folder C:\Programme\DNN\DesktopModules\MyLongProcess

Some questions for understanding:

  • The URL is not like the folder structure. It is like the page structure:
    http://localhost:2974/DNN/Testmodules/MyLongProcess/tabid/56/Default.aspx
  • How can I get the real URL inside the Module-Code
  • Where should the second page (DoProcess.aspx), which is not a module, only a normal page be located (App_Code)?
  • If it should be App_Code, I can only added Classes and HTML pages to this folder, no asp.net webpage, if i am in IDE

Hoping you understand my english.

Many thanks in advance

 

 

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0How to show a progress in a moduleHow to show a progress in a module


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