More in this section

Forums / Developing with Sitefinity / delete from content placeholder on ALL pages

delete from content placeholder on ALL pages

2 posts, 0 answered
  1. SelAromDotNet
    SelAromDotNet avatar
    912 posts
    18 Jul 2012
    16 Jun 2008
    Link to this post
    is there a way that I can clear out the contents on a placeholder across the entire site? I had a contentplaceholder for the page header, but I want to replace that with a breadcrumb control. I know I can place the breadcrumb control in the master page to apply it sitewide, but if I do that, it also displays the content that I added to the individual pages.

    Is there a way to erase those content controls (they are generic content controls) without having to open each page up for edit, delete the control, then publish? I have hundreds of pages to do this to and if there's a quicker way I'd really apprecaite it!

  2. Nikifor
    Nikifor avatar
    232 posts
    18 May 2013
    18 Jun 2008
    Link to this post
    Hi SelArom,

    Unfortunately, there is no such function out of the box. You can create your custom code using the Sitefinity API but it would be a time-consuming task.

    Best wishes,
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
2 posts, 0 answered