MOSS wpresources\RadEditorSharePoint files overwritten when SharePoint patched

2 posts, 0 answers
  1. Ian
    Ian avatar
    29 posts
    Member since:
    Jun 2009

    Posted 20 Oct 2011 Link to this post

    I have observed some very bad behavior with the Telerik RadMossEditor. In the Config.xml file I need to listen for the event OnClientLoad as follows.

    <property name="OnClientLoad">mossEditorHandleClientLoaded</property> 

    I've added my function mossEditorHandleClientLoaded into MOSSEditorTools.js everything works great. That is until our sysadmin  applied some MS Sharepoint updates. After running the SharePoint Configuration Wizard all of the files that I customized were overwritten with the stock ones in the .WSP installer package of this component, including the ToolsFile.xml which has my preferred button configuration for the edit control. 

    As far as I can tell there is no other way to wire this up above that to modify those files in that directory which is the practice that Telerik's documentation recommends. This seems like a very brittle and broken approach, is there a better way?

    Thanks.
  2. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 21 Oct 2011 Link to this post

    Hello Ian,


    When the RadControlsSP.wsp is retracted from the farm all the default files in the /Program Files/Common Files/Microsoft Shared/web server extensions/wpresources/RadEditorSharePoint/x.x.x.0__1f131a624888eeed/Resources/ folder are deleted. When the solution is deployed all the default files are added or overwritten.

    Unfortunately currently the only solution of your problem is to backup your custom files (or the entire Resources folder), so you can restore them easy on an upgrade. Keep in mind that in the upcoming new versions the default configuration files might be different. So the best approach on upgrade is to merge the new default files with the customizations you make.

    I am sure that this information was provided in our online help, however currently I could not find it. I contacted our documentation team and this will be fixed ASAP.

    Regards,
    Stanimir
    the Telerik team
    Learn how the Telerik controls can be integrated in SharePoint 2007/2010 from this resource. To watch them in action, explore our online SharePoint 2010 and SharePoint 2007 demo sites.

Back to Top