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.0WebForm_PostBackOptions is undefined errorWebForm_PostBackOptions is undefined error
Previous
 
Next
New Post
5/8/2008 12:09 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
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0WebForm_PostBackOptions is undefined errorWebForm_PostBackOptions is undefined error


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