Telerik

Knowledge Base

Home/Web Content Management/Developer Network/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

Powered by Sitefinity ASP.NET CMS

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