EPiServer 4.60(hotfix 2) PostBack and Caching doesn‘t work
Vote:
Information om själva felet (Obs, det är inget fel man får utan jag anser att det är fel i implementation av EPiServers postback hantering)
Jag har en sida med navigering och ett formulär.
Navigeringen på sidan är satt till att ha en output cache som variera på 2 parametrar språk och id (sidans id).
Form taggen ser ut på följande sätt:
Hi
the friendly URL package is going to change the action tab for the post back handling in the web control "FriendlyUrlRegistration" so the postback is done to the friendly URL instead of the original URL, to read more about this in the technical note "Friendly URL.pdf"
A short description of our problem (we have several other problems/issues with the friendlyUrl implementation, but we can't turn it of since our customer wants it :-( )
When we are doing a postback in our system we want the landing page to have the url www.xxx.com/default.aspx?id=34&lng=sv.
But the friendlyUrl thinks that www.xxx.com/post.aspx is better.
A workaround for this issue is to do the following in the aspx page.
override protected void ValidateFriendlyUrl()
{}
If you change the parameter EPsFriendlyUrlExtension to “/default.aspx” you get the postback to go to default .aspx.
The parameters id and epslanguage is removed because it is already in the URL.
Hi,
I have similar problems. The url I´m having problems with looks like this:
http://localhost/Seminarier/Tipsa-en-van/?semID=1420
This page has a post-back button which makes the post to a page:
http://localhost/Seminarier/Tipsa-en-van/Post.aspx
So I lost my querystrings parameters, is there a way to keep them? They are crusial for the site which is running without user friendly url:s today.