Gabe Sumner

Gabe Sumner

The RSS Feed URL cannot be found!
The remote server returned an error: (400) Bad Request.

Back to all posts

Using the Sitefinity "Overlay" Page Edit Mode

Sitefinity has 2 "edit modes" (Overlay & Classic) that can be used to edit pages:
Sitefinity Edit Modes 
The "Overlay" edit mode grays-out areas of the page that cannot be altered; while the "Classic" edit mode displays the unmodified page.  "Classic" gives a better representation of what the page actually looks like, while "Overlay" makes it easier to see what parts of the page you can alter.  Both edit modes have advantages & disadvantages.

However, the "Overlay" edit mode can sometimes be fickle due to the CSS magic being applied.  While using this mode I was having problems with the entire web page going "gray" and being unable to alter anything.

The Solution

To make use of the "Overlay" edit mode you cannot have ANYTHING placed inside your <asp:contentplaceholder> tags.   I had the following control tag placed in my master template:

<asp:contentplaceholder id="MainContent" runat="server">
</asp:contentplaceholder>

This will break the "Overlay" edit mode.  Why?  Because there is white-space inside the <asp:contentplaceholder> tag.  Instead use the following:

<asp:contentplaceholder id="MainContent" runat="server" />

Now the tag is self-enclosed and truly empty.  You aren't done yet though, the <asp:contentplaceholder> tags must also be empty from a Sitefinity Template perspective.  Sitefinity will let you drag & drop controls directly onto your template.  However, once you populate those placeholders with controls, the "Overlay" edit mode will break from a page perspective.

There are 2 ways to work around this:

  • Don't alter your templates using Sitefinity.  If you need to place controls onto your templates, alter the master template file and create the control tag outside of a placeholder.  This is what I'm currently doing with Goondocks.
  • Add extra <asp:contentplaceholder> tags to your master template file and only populate those tags via the Sitefinity template editor.  This means you will have "template content placeholders" and "page content placeholders".  Once you populate an <asp:contentplaceholder> tag at a template-level, it will become unavailable at a page-level.

Or you can simply not make use "Overlay" edit mode and instead only make use of the "Classic" edit mode.  None of the problems described here exist when using the "Classic" edit mode. 

Facebook DZone It! Digg It! StumbleUpon Technorati Del.icio.us NewsVine Reddit Blinklist Furl it!

Comments  49

  • Jay 15 May, 05:43 PM

    Great post, you saved me many hours of debugging, thanks again.


  • Jay 15 May, 06:02 PM

    Great post, you saved me many hours of debugging, thanks again.


  • Chris 14 Jul, 02:44 PM

    I had the same problem! thanks for saving me time!


  • Michael 7 May, 02:12 PM

    Is this still not fixed? I ran into this problem today.
    Thanks for your post!


  • AnHund 27 May, 08:23 AM

    Thanks a lot. Was pulling hair out of my head due to the placeholder-problem. You saved my day :-)


  • rAdmin 22 Nov, 08:36 AM

    I was having the same problem. Your post solved my problem right away.
    Thank you!


  • Chamomile 14 May, 12:44 PM

    Satnds back from the keyboard in amazement! Thanks!


  • thomas sabo mens jewellery 25 Jun, 01:21 AM

    thank you so much taking both as well!


  • Pandora Bracelets Charms Uk 4 Jul, 06:23 PM

    To a large extent, this post that has explained some contents very carefully and totally. It really contains a lot of aspects of something that we are very eager to know and are very necessary to us in our daily life. Firstly , this post can do its best to tell some points of products very truly and believeable, which is some posts can't do well. Secondly, this post can consider something important from our buyers stand, which is very helpful to our life ,work, and so on. Last but not least ,the most important respect is that it can lead us to know right and total news,and tell us what perfect things really are. From the bottom of my heart , we really need this excellent kind of posts and we will obtain more and more beneifits than ever before. Thanks a lot!


  • Thomas Sabo 5 Jul, 02:40 AM

    This is very beauty article, I like it, thank you!To the word you may be one person, but to one person you may be the world.


  • true religion jeans outlet 12 Oct, 06:23 PM

    Was looking for benefits! My organization is continually looking through your internet site in support of right now Concerning came across typically the write-up with the help of guide! I am just 100 percent positive Jodi is without a doubt trendy for the reason that fellow members happen to be. Have a great time with your foreseeable future deliver the results.


  • uggs outlet 20 Oct, 11:25 AM

    "Classic" gives a better representation of what the page actually looks like, while "Overlay" makes it easier to see what parts of the page you can alter. Both edit modes have advantages & disadvantages.


  • ugg outlet store 26 Oct, 08:46 PM

    This is certainly my very own very first time that my spouse and I click here. I recently found a great number of fun information as part of your blog page, in particular it's actually discourse. Belonging to the a great deal of opinions for your articles or blog posts, Just maybe Objective, i'm not man or woman possessing the whole set of enjoyment below! Keep up to date monetary management get the job done.


  • Ugg boots clearance 12 Nov, 12:26 AM

    SZ2LBVKCQHDX4MKQ60OD


  • burberry 12 Nov, 01:28 AM

    This is a really good read for me, Must admit that you are one of the best bloggers I ever saw.Thanks for posting this informative article.


  • cheap new era hats 17 Nov, 12:10 AM

    Thank you for the good writeup. It in fact was a amusement account it. Look advanced to far added agreeable from you! By the way, how could we communicate?
    hongxinmaoyi114post.


  • wholesale new era hats 17 Nov, 12:10 AM

    Thank you for the good writeup. It in fact was a amusement account it. Look advanced to far added agreeable from you! By the way, how could we communicate?
    hongxinmaoyi114post.


  • Wholesale new era hats 17 Nov, 12:11 AM

    Thank you for the good writeup. It in fact was a amusement account it. Look advanced to far added agreeable from you! By the way, how could we communicate?
    hongxinmaoyi114post.


  • Wholesale Baseball Caps 17 Nov, 12:11 AM

    Thank you for the good writeup. It in fact was a amusement account it. Look advanced to far added agreeable from you! By the way, how could we communicate?
    hongxinmaoyi114post.


  • Purple Supra Shoes 20 Nov, 05:54 AM

    Thank you for the good writeup. It in fact was a amusement account it. Look advanced to far added agreeable from you!


  • CHEAPUGG 22 Nov, 06:20 PM

    Australians own their UGG trademark "#dongzdsk"because American lost lawsuit when they tried to register UGG in Australia owing to the UGG stems from Australia. The name of UUG was evolved from “ugly boots” since the Australians thought it ugly that time. Beijing at the same time.


  • MINIUGG 22 Nov, 06:21 PM

    UGG 2011 Spring and Summer collection "#dongzdsk"once you see them. You can find colorful UGG wedge sandals, strappy sandals decorated with studs and buckles. Of course, sports shoes and flip flops are indispensible. Believer it or not, a pair of UGG spring and summer will bring you enormous surprises and happiness.


  • cheap oakley sunglasses 29 Nov, 12:43 AM

    WRSLASLJJWAKDSCYDWT
    How long you can you keep your ugg boots clean and new


  • womens ugg boots 4 Dec, 06:01 PM

    pretty well


  • amandatrade 9 Dec, 10:27 PM

    This looks to be a very active website. How on earth do you keep up with approving all the comments?


  • amandatowels 9 Dec, 10:28 PM


    You made some good points there. I did a search on the topic and found most people will agree with your blog.I was very pleased to find this site.I wanted to thank you for this great read!! I definitely enjoying every little bit of it and I have you bookmarked to check out new stuff you post.


  • amandascarf 9 Dec, 10:28 PM

    So cool. What else can I say.Thanks once again for the great tunes.


  • ralph lauren 14 Dec, 10:31 PM

    When an end is lawful and obligatory, the indispensable means to is are also lawful and obligatory


  • dual sim cards tv cell phones 4 Jan, 10:44 PM


    What a well-researched article — thanks for putting in the time to look into the back-stories of all these famous brands. I had no idea the Twitter bird came from iStockPhoto, of all places!


  • unlocked gsm quad band cell phone 4 Jan, 10:44 PM


    Thanks for the excellent tutorial. I gave it a thumbs up at Bumbzee and I digg it.


  • quad band unlocked cell phone c12 4 Jan, 10:45 PM


    A uh, a higher-res image of his painting? thanks.


  • oakleys sunglasses 11 Jan, 12:19 AM

    ZCWYLNDSYHNBY
    Welcome to Oakley Sunglasses Hut to buy cool and cheap oakleys sunglasses.


  • http://shopinq.com/ 11 Jan, 08:54 PM

    HwRJ5k comment2


  • http://shopinq.com/ 12 Jan, 12:42 AM

    XuzsAS comment4


  • http://shopinq.com/ 12 Jan, 12:55 AM

    Z65p7C comment4


  • http://shopinq.com/ 13 Jan, 03:04 AM

    xkFU6y comment2


  • http://shopinq.com/ 15 Jan, 05:38 AM

    mlycXk comment1


  • http://shopinq.com/ 15 Jan, 05:40 AM

    4hu3Yi comment1


  • pink ugg boots 16 Jan, 10:07 PM

    The ugg women boots can be found if you are willing to look for http://www.uggbootssales-au.org ,. Because the look and feel of ugg boots sale are fashionable. http://www.winterboot-sales.net/ ,waiting for these Ugg boots uk to UK online. http://www.winterboot-sales.org/ .


  • pink ugg boots 16 Jan, 10:10 PM

    The ugg women boots can be found if you are willing to look for http://www.uggbootssales-au.org ,. Because the look and feel of ugg boots sale are fashionable. http://www.winterboot-sales.net/ ,waiting for these Ugg boots uk to UK online. http://www.winterboot-sales.org/ .


  • uggstore 16 Jan, 11:02 PM

    ZY-The barbour jacket tough to choose in between UGG boots and Just ugg snow boots. barbour jackets They are extremely comparable in construction and physical appearance http://www.snow-boots-uk-sale.org/. I have determined among the two brand names of ugg boots uk and jackets barbour.The cheap ugg boots sale look to have a http://www.snow-boots-uk-sale.org lining inside the boot. barbour women jackets more affordable generally to purchase from Substantial Street retailers. http://www.offical-barbour.com/


  • donata uggs 16 Jan, 11:03 PM

    ZY-This ugg boots works! Nowadays you will find more and more more approaches to pick from discount pandora rose ring onyx,they are a nice of footwear. http://www.winterboots-uk.biz . ugg boots can be encountered in short and high styles. winter boots Ultimate Tall Braid and pandora jewellery can be encountered in colors from pink and crimson, pandora bracelet to tan and earth colour outlet while UGG Men Boots can be pandora rose ring in the bigger neutral colors. http://www.pandorajewellry.org/ .


  • diesel jeans ronhoir 17 Jan, 03:35 AM

    HX-The canada parkas may be within the world of style. diesel jeans uk can help them get out of comfort. However, the australian ugg boots to minimize water http://www.winterboot-sales.com ,consumption of the acquisition, fashion seems to Goose canadian gentleman charm. Sheepskin ugg boots is a family holiday. http://www.diesel-jeanssales.org , The acquisition of diesel jeans sale , but the fashion sense of style. All kinds of canadagoose jacket, your condition is skiing or hiking. The ugg boots in a top league. Uncomplicated design solo Diesel jeans uk. http://www.canadiangoose-jackets.com .


  • barbour international 27 Jan, 07:16 PM

    Barbour is a old brand come from UK. In European Barbour Jacket just as you have an admission tickets to enter high society. And the Barbour coat still won Queens Award for their excellent quality. Welcome to barbour store online http://www.barbourjk.com/ .Now barbour store will show you many barbour wax jackets style which you can use in any situation. Give one barbour quilted jacket and it will bring you convenient life and outstanding feeling. There are variety of mens jacket, barbour ladies jacket and Kids jackets here. The high quality barbour international jacket you can’t miss.


  • cheap oakley outlet 31 Jan, 09:06 PM

    great boots than you imaged


  • http://www.smithtitleservices.com/ 1 Feb, 12:44 PM

    I would add something else, of course, but in fact almost everything is mentioned!...


  • http://www.profitworx.com/seo-services 2 Feb, 03:15 AM

    Honestly, not bad news!....


  • chloe bags online 2 Feb, 11:39 PM

    Frida Giannini design by the creative director of new G-Frame wrist watch series perfect highlight the Gucci landma points and set a high quality diamonds.


  • louis vuitton belt 2 Feb, 11:39 PM

    New G-Frame series will be practical and elegant unique combination. This series of character to watch money is elegant, concise line by design, both i


Post a comment!


HostMySite.com   website uptime