Telerik

Knowledge Base

Home/Web Content Management/Developer Network/Knowledge Base/Sitefinity page freezes in Edit mode

Sitefinity page freezes in Edit mode

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"); 

Article Info

Article relates to 3.x
Created by Penka Ivanova
Last modified by Penka Ivanova
Related categories: Workarounds

Powered by Sitefinity ASP.NET CMS

Contact Us | Site Feedback | Terms of Use | Privacy Policy
Copyright © 2002-2010 Telerik. All rights reserved.