Sitefinity ASP.NET CMS
Skip Navigation LinksSupport / Knowledge Base / Settings applied to the Content View based controls are reset

Settings applied to the Content View based controls are reset


Problem
Settings applied to the Content View based controls (News View, Events View, Blog Posts and Image Gallery) are reset after application restart. They are saved in the control property configurators but are not applied to the control on application start.


Solution

Add the highligted lines in the Global.asax file, located in your application root folder:

void Application_Start(object sender, EventArgs e)   
{  
    // Code that runs on application startup  
    Telerik.Cms.Engine.WebControls.Design.Settings.ContentSetting dummyContent = new Telerik.Cms.Engine.WebControls.Design.Settings.ContentSetting();  
    Telerik.Cms.Engine.WebControls.Design.Settings.TextSetting dummyText = new Telerik.Cms.Engine.WebControls.Design.Settings.TextSetting();  



Article Info

Article relates to 3.2 SP2 Hotfix (1616)
Created by Rebecca
Last modified by Rebecca
Related categories: Workarounds

About Telerik

Telerik, the publisher of Sitefinity CMS, is leading vendor of ASP.NET AJAX, Silverlight, WinForms and WPF controls and components, as well as .NET Reporting and .NET ORM solutions. 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-2009 Telerik. All rights reserved. Powered by Sitefinity