Events not fiering on postback

We're experiencing problems with postback events not firing when using friendly urls. If we cange the config to using regular urls like “default.aspx?id=1“ the events starts firing again. Is this a feature or a “bug” in the product??? If it’s a bug is there a fix for it? We’re using Epi Server 4.60 Cheers
Mar 25, 2008 18:35
Hello. Is this an upgrade or a new installation ? If this is an upgrade, have you added this code in the header.ascx as said in the release notes ? /Øyvind
Mar 25, 2008 18:45
Its a new install, and has been added to the header.ascx. we're btw running on .Net 2.0
Mar 25, 2008 18:45
Thank you Øyvind, it solved our problem!
Mar 25, 2008 18:45

I have the same problem. We have several search-pages where the user inputs what to search for and then presses a button. It works find without friendly urls, but when I turn friendly urls on the buttons doesn't perform postbacks. That is, the pages does relaod, but in the pageload the IsPostback is false and the click-event never fires.

 I have <episerver:FriendlyUrlRegistration runat="server"/> in the header.ascx.

 Any suggestions?

May 29, 2008 15:50
Did you solve this problem? We're having the same problem on 4.61 with .NET 1.1.
Oct 09, 2008 14:18
Markus, if you search your generated HTML-source, can you find "post.aspx"? It should be in a small script and is the output of the FURL tag.
Oct 10, 2008 9:52

Is this what your refering to?

<script type='text/javascript'>document.forms[0].action='/Sok/Post.aspx';</script>

Our search page is pretty much unchanged from your templates.



Oct 10, 2008 13:31


I'm having the same problem as the events are not firing up. Every single button has became virtually dead...  I'm currently using .net 2.0 and Episerver 4.61.

Has anyone found a solution for this?? 


Nov 28, 2008 17:06
Hugo, does the postback occur at all? Make sure that you have the friendlyurlregistration control registered
Nov 29, 2008 19:02

Hi Lars.

The postback is posting back to the episerver "unfriendly" url, this recieves a 301 redirect, and is then sent to the friendly url.  the post data is lost as the 301 forces a HTTP GET.

I managed to get it working without the friendly urls, which itself is also a problem.

What do you mean by having the control registered? The friendlyurl assembly is being called from a http handler declared in web.config file.


Dec 02, 2008 12:48

I just experienced this event not triggering problem after turning on friendlyURLs on an old and unfamiliar 4.61.2 website.

I added  "<episerver:FriendlyUrlRegistration ID="FriendlyUrlRegistration1" runat="server"/>" between the <head> tag and it worked again :) Thanks for the old tip ;)

There was a problem with some other piece of code and the following line helped me out of a pickle. Maybe its redundent after adding the <friendlyurlregistration> but either way, if it helps someone solve a friendly url problem here it is:



Sep 16, 2009 16:23