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

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsClientAPIClientAPIDNN402: WebForm_DoPostBackWithOptions not definedDNN402: WebForm_DoPostBackWithOptions not defined
Previous
 
Next
New Post
1/12/2006 12:00 PM
 
On a fresh DNN402 install (.NET 2 official release), there seems to be a script error preventing postbacks with a number of buttons:
    WebForm_DoPostBackWithOptions is not defined
As I understand it, this is an ASP.NET script function - these used to reside in /aspnet_client but are now served up via the new WebResource mechanism, and are embedded as resources in System.Web.dll.

Any thoughts /  assistance resolving this?
 
New Post
1/13/2006 7:49 AM
 
Okay, got it -
When .NET 2 renders the page, it outputs a line similar to 
<script src="/DNN401/WebResource.axd?d=B1cqZ1oBKIXc4rxR3goKVA2&amp;t=632696756414420475" type="text/javascript"></script>
near the top of the page.  This is intended to contain WebForm_DoPostBackWithOptions( ) and other utility javascript functions used by .NET 2 web controls. 

However, I am using the Blowery compression module described at www.smcculloch.net/Resources/Articles/tabid/213/articleType/ArticleView/articleId/46/EnablingHTTPCompressionforDotNetNuke.aspx
This works fine under 1.1, but WebResource.axd isn't accessible under 2.0 if compression is enabled. 

Way around it?  Well for the Blowery module, there is a web.config <excludePaths> section, where you can specify WebResource.axd - for other compression packages a different solution may need to be found.
 
New Post
4/20/2006 5:12 PM
 

Hi gnomad,

I had the same problem and managed to fixed it. You probably have IIS option 'verify that file exist' ON for the .axd extension (of aspnet_isapi.dll). It needs to be OFF because it's not a physical file.

Hope it works for you too.

 
New Post
10/12/2006 2:03 PM
 

Hi gnomad,

Thanks for answering your own question because I was having the same problem after installing the Blowery compression module too.

Adding the compression path exclusion for WebResource.axd in the web.config file fixed mine as well.

Good catch, I don't think I would have found that one very easily.

 
New Post
3/3/2007 12:02 PM
 
I have the same problem, but I don't use compression and 'verify that file exist' option is set to off.
Any other ideas?
Thanks...

Dimitris Papadimitriou
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsClientAPIClientAPIDNN402: WebForm_DoPostBackWithOptions not definedDNN402: WebForm_DoPostBackWithOptions not defined


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