Sitefinity ASP.NET CMS
Skip Navigation LinksSupport / 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

About Telerik

Telerik, the publisher of Sitefinity CMS, is a leading vendor of ASP.NET AJAX, ASP.NET MVC, Silverlight, WinForms and WPF controls and components, as well as .NET Reporting and .NET ORMTFSCode Analysis and Web Application Testing tools. Building on its solid expertise in interface development and Microsoft technologies, Telerik helps customers build applications with unparalleled richness, responsiveness and interactivity. Created with passion, Telerik products help thousands of developers every day to be more productive and deliver reliable applications under budget and on time. Read more about Telerik

Copyright © 2002-2010 Telerik. All rights reserved. Powered by Sitefinity