Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

$4.95 Windows Hosting at Webhost4life.com
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
The best choice for your web site host, email hosting, and domain registration.
 


  Sponsors  

Meet Our Sponsors

The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  custom module page submission problems
Previous Previous
 
Next Next
New Post 5/2/2008 10:58 AM
User is offline steve conard
95 posts
10th Ranked


custom module page submission problems 
Modified By steve conard  on 5/6/2008 4:02:13 PM)

In a custom module I am using an object that works perfectly in dnn 3.3.5 but fails on page submission when run in dnn 4.5.1.  The object is common xfile by softartisan.  

Object declaration from ascx
<OBJECT id="AXFFile" classid="CLSID:230C3D02-DA27-11D2-8612-00A0C93EEA3C"
height = "200"
codebase = "/dotnetnuke/DesktopModules/printRequest/progress.htm"
Style = "HEIGHT: 200px; LEFT: 0px; TOP: 0px; WIDTH: 450px"
width="400">
<PARAM NAME="_cx...</OBJECT>
<script language="javascript">
var XFile = document.all("AXFFile").XFRequest;
XFile.TimeOut = 3600;
XFile.Server = "localhost";
XFile.ObjectName = "/dotnetnuke/default.aspx?tabid=181";
if (XFile.formElements.Count > 1)XFile.formElements.RemoveAll;
</script>

The javascript that opens the page that starts the object process.
window.open("/dotnetnuke/DesktopModules/printRequest/progress.htm",null,winstyle);

Code from the page that starts the process.  The object calls back to portal tab as defined above.
  <SCRIPT language="javascript">
  function callback() {
  
   document.all("AXFFileProgress").XFRequestStream =  opener.document.all("AXFFile").XFRequestStream;
   document.all("AXFFileProgress").ShowProgress();
   opener.document.all("AXFFile").Start();
   var x = opener.document.all("AXFFile").XFRequest.Response;

   opener.document.open();
   opener.document.write(x);
   window.close();
   return;
  }
  </SCRIPT>
 </HEAD>
 <BODY onload="callback();">
  <OBJECT ID="AXFFileProgress" CLASSID="CLSID:C3EAF164-E06A-11D2-B5C9-0050041B7FF6" VIEWASTEXT>
  </OBJECT>
  <SCRIPT language="VBS">
   'This will not work in Javascript
   sub AXFFileProgress_TransferComplete()
    'uncomment the next line to get a pop-up when the transfer is finished
    'MsgBox "Transfer completed"
   end sub
  </SCRIPT>
 </BODY>

Once this is called the links on the page and the menu are no longer functional and will produce "Webform_PostBackOptions is undefined" errors.  I have found threads on this error but most refer to .axd fixes, none of which solve the problem.  I've tried everything suggestion in related threads - turn off compression, comment it out of the web.config, whitespace, clear cache, clear browser cache, exclude webresource.axd, etc.I have spent many many hours on this so any assistance....

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  custom module page submission problems
 


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.

 


Ultra Media Gallery & Video Gallery
The most popular photo gallery and video gallery module. with Flash interface.
www.bizmodules.net
WDK Solutions
Quality modules for the DotNetNuke community. Check out our 'wild' modules!
wdkns.com
UK - DotNetNuke providers
UK providers of DNN module development and skin package design. Oxford Information Labs provides cost-effective solutions for businesses and organisations specialising in Skin design and bespoke module development.
www.oxil.co.uk

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP