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.0asp:UpdateProgress problem in 4.5.3asp:UpdateProgress problem in 4.5.3
Previous
 
Next
New Post
7/5/2007 11:56 PM
 

I've just installed 4.5.3 (new site, new database) and have ported some code from an AJAX enabled ASP2.0 site that will fetch a user specified document and (for the moment) render it in an iframe. We have to convert the document from Word to PDF which means  the whole process from click to document display takes about 30 seconds. While waiting for all of this to happend I've used the UpdateProgress control to indicate that something is happening. This all worked first time - no problem.

Now when I port it to a DNN module the code runs and the document displays but I don't see the Progress message/animated gif. I followed the advice here nes.nesinteractivos.com/Weblog/tabid/537/EntryID/64/Default.aspx but when I enable the Partial Rendering for the module DNN takes over and displays it's own progress bar at the bottom of the page (which is not where I want to position it).

If I un-check partial rendering the DNN progress bar disappears but mine doesn't show up. If I view the source that has been rendered I see that my UpdateProgress control has aquired a style="display:none;" attribute which I didn't set in the code.

My code is shown below. The ddlDocument_OnSelectedIndexChanged event handler does all the document fetching.

<asp:UpdatePanel ID="upDocuments" runat="server">
    <ContentTemplate>
        <asp:DropDownList ID="ddlDocument" runat="server" OnSelectedIndexChanged="ddlDocument_OnSelectedIndexChanged">
        </asp:DropDownList>
   
        <asp:UpdateProgress ID="progressWaiting" runat="server" AssociatedUpdatePanelID="upDocuments">
            <ProgressTemplate>
                Please wait converting & file ...
            </ProgressTemplate>
        </asp:UpdateProgress>
        <span>
            <iframe id="iDocument" src='<%=_documentUrl%>' width="95%" height="800"></iframe>
        </span>
    </ContentTemplate>
</asp:UpdatePanel>

Can anyone help out here as to what is going wrong or if i need to set some other setting than Partial Rendering ? Or are we not supposed to use the raw AJAX controls and rely on DNN ?

Thanks

Scott

 

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0asp:UpdateProgress problem in 4.5.3asp:UpdateProgress problem in 4.5.3


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