Problem The following issues can be reproduced in Edit mode of a Sitefinity page:
1. The page cannot be published - Publish button does not work.
2. The changes on the page cannot be canceled - Cancel button does not work.
3. You are not able to add controls to the page.
Reason
A possible reason for the described behavior could be
if you have set PostBackUrl property for some of the server controls (ImageButton, Button, LinkButton and etc.) which are declared either on the master file or on the page itself. Setting this property totally breaks Sitefinity Edit page mode.
Solution For the time being, the solution is to remove PostBackUrl property. Instead, post the information from the current page to a target page in the handler of the control OnClick event. For example:
.master
| <asp:Button ID="Button1" runat="server" Text="Click" OnClick="Button1_Click" /> |
.master.cs
| protected void Button1_Click(object sender, EventArgs e) |
| { |
| Response.Redirect("~/Default.aspx"); |
| } |