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  |  

PortalWebHosting
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Active Modules -- Active Forums for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

OnyakTech
The best choice for your web site host, email hosting, and domain registration.
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
MadCap Software, Inc.
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  WebForm_PostBackOptions is undefined error
Previous Previous
 
Next Next
New Post 5/8/2008 9:09 AM
User is offline steve conard
85 posts
10th Ranked


Webform_PostBackOptions is undefined error 

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...  WebForm_PostBackOptions is undefined error
 


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.

 


Icthus Technologies
Building Faith on the Internet
www.icthustech.com
Efficion Consulting
A premier DotNetNuke consulting firm providing complete DNN services including: custom module development, skinning and design, installation and integration services.
www.efficionconsulting.com
DotNetNuke Training by Engage Software
Specializing in customized training, architecture and module solutions for large scale implementations lead by DNN Core Team Member Christopher Hammond.
engagesoftware.com

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