Urlrewriting.net pages are not causing postbacks
        Posted  
        
            by Nick
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Nick
        
        
        
        Published on 2009-09-15T14:54:52Z
        Indexed on 
            2010/03/14
            3:05 UTC
        
        
        Read the original article
        Hit count: 842
        
I'm using webforms with UrlRewriting.Net to rewrite pages, e.g.
http://www.example.com/stuff.aspx?c=30
becomes
http://www.example.com/stuff/30-this-stuff.aspx.
It works in so far as the correct content is loading; however, none of the postbacks are working (mostly buttons on the page). If I set up a breakpoint on Page_Load, I see that IsPostBack is always false. Any ideas on how to fix this?  Right now I'm just on Visual Studio 2008.
EDIT: I have since switched to UrlRewriter.Net, which worked after a few tweaks (see Scott Gu's article). Besides here, I have posted my original problem to the developer's forum: if I ever get an answer, I'll post it here (unless else posts it here first).
© Stack Overflow or respective owner