Quick Nav:  Online Store   |   Login | Register
PrevPrev--NextNext
WebForm_DoPostBackWithOptions fails
Last Post 01 Jul 2008 06:04 PM by Will Strohl. 10 Replies.
Please Register to participate.
Sort: Print topic: Printer Friendly
AuthorMessages
Nelson Fernandez
New Member
Posts:82


Send PM:Send Private Message

--
25 Apr 2007 11:48 AM
I'm not sure what is causing this, but any link that calls the javascript "WebForm_DoPostBackWithOptions" fails in FireFox

For example, when you add a new page and click the update link, it just sits there. Looking at a debug log reveals that the function cannot be found. It works fine in IE though!

I have read that this function is located in WebResource.axd and that compression may cause this file to be ignored. The default DNN compression is set to exclude "WebResource.axd" by default.

Has anyone here come across this issue?

Is there a way to turn off Compression site-wide for testing? I tried to exclude "WebResource.axd" in the PageBlaster config but it has no effect.

John Mitchell
Veteran Member
Posts:4384

Avatar

Administrator
Send PM:Send Private Message

--
25 Apr 2007 11:54 AM

You can and should exclude all .axd files in PageBlaster.

Since it is working in IE you probably already have that exclusion though.

Try holding SHIFT and refreshing the page in FireFox to clear the browser cache.

Nelson Fernandez
New Member
Posts:82


Send PM:Send Private Message

--
25 Apr 2007 02:16 PM
When I remove PageBlaster it works fine. I'm experimenting with some exclusion logic now...

I have:

[path pattern="Donate" excludeFrom="CompressionAndCaching" /]
[path pattern="*" excludeFrom="Compression" /]
[path pattern="webresource.axd" excludeFrom="Compression" /]

Where my page name is Donate.aspx

I tried using the * to turn off all cacheing and also set compression-level to None but it seems that compression still runs.


John Mitchell
Veteran Member
Posts:4384

Avatar

Administrator
Send PM:Send Private Message

--
25 Apr 2007 02:36 PM
add an exclusion for all .axd files.

pattern="\.axd" excludeFrom="All"

On snapsis.com I am running with only one exclude pattern:

< path pattern="(\.asmx|\.axd|\.asxh|rss|fck|admin|install|thumb|wizard|cart)" excludeFrom="All" />
Nelson Fernandez
New Member
Posts:82


Send PM:Send Private Message

--
25 Apr 2007 03:03 PM
Did not work.

Does the exclusion order matter?

Is there a way to turn off all compression but leave caching and replacement?
John Mitchell
Veteran Member
Posts:4384

Avatar

Administrator
Send PM:Send Private Message

--
25 Apr 2007 03:09 PM
< path pattern=".*" excludeFrom="Compression" />

Will turn off compression on all pages. I just noticed that you have this pattern above but missing the period in front of the asterisk.

If you can send me a link, I may be able to see why it is giving you trouble.
Nelson Fernandez
New Member
Posts:82


Send PM:Send Private Message

--
25 Apr 2007 03:16 PM
Just sent the info via email
John Mitchell
Veteran Member
Posts:4384

Avatar

Administrator
Send PM:Send Private Message

--
25 Apr 2007 06:07 PM
Ok, I had a chance to look at it, and it is failing for me even in IE. I can see that it is being excluded though.

Did this just start happening with the newest version?
Nelson Fernandez
New Member
Posts:82


Send PM:Send Private Message

--
25 Apr 2007 06:12 PM
Possibly, You sent me a beta build (forgot about that) that would handle the userid replace. Thats what I've been using for several days. But I cant say with 100% assurance that it happens only with the latest build. Unfortunately I need the UserID param mroe than the compression or cacheing.
Nelson Fernandez
New Member
Posts:82


Send PM:Send Private Message

--
26 Apr 2007 11:45 AM
I have turned off the PageBlaster site wide for the time being. It turns out the Privatre Messages module was also affected and possibly others.
<% %>Until a new build is available, is there a way I can use encode the user ID into a text module? possibly via some <  %  % > tag?
Will Strohl
Posts:112


Send PM:Send Private Message

--
01 Jul 2008 06:04 PM
Nelson, did you ever find a fix for this? I am also experiencing this problem.
Please Register to participate.

Active Forums 4.1
     
      
Powered by: Snapsis Software