More in this section
Forums / Developing with Sitefinity / PostBackUrl breaks other postbacks

PostBackUrl breaks other postbacks

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
1 posts, 0 answered
  1. Paul Markham
    Paul Markham avatar
    19 posts
    02 Feb 2010
    05 Oct 2011
    Link to this post

    When a button control's PostBackUrl property is set, no click events for other buttons are fired.

    On trawling the Internet, it appears that this might have something to do with URL rewriting. When a different button is clicked, in Page_Load:
    - When there is no URL rewriting (e.g. a standalone ASP.NET website), Page.Postback is true and Page.PreviousPage is null. The click event handler is called.
    - When there is URL rewriting (e.g. a Sitefinity-based website), Page.Postback is false and Page.PreviousPage throws an exception that the URL-rewritten page name does not exist. The click event handler is not called.

    Is this something that is known about, and is there a fix?



1 posts, 0 answered