Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I am working with the MSDN example scenario creating creating a custom web part. Can anybody tell me why is it showing the square bottom div below (see in the image).

It says "Bottom" and it disappears once I am out of the property window, any ideas?

You can find the sample at: http://msdn.microsoft.com/en-us/library/hh228018.aspx

enter image description here

share|improve this question

2 Answers 2

I think it's part of the PageLayout , when the Page is in EditMode it displays all the different zones.


share|improve this answer
    
how can i get rid of that? –  Abu Hamzah Oct 13 '11 at 17:14
    
Create a Custom Page layout OR use as James suggested use BlankWebpart. –  Vamsi Oct 13 '11 at 17:37

I can only assume that the web part was added to a page layout that had a web part zone and a rich content zone below it, or had two rich content zones, and only the label for the bottom one is visible.

It is a poor example from MS though. They could have at least had more context of the page it's running in, like a Team Site. That way we know what's normal and what's 'different' about what they're illustrating.

share|improve this answer
    
Ah!! I submitted my answer and I see ur answer when the page loads back :( ; this is one very active forum :) –  Vamsi Oct 13 '11 at 17:09
    
do you have any good example that you know? –  Abu Hamzah Oct 13 '11 at 17:16
    
If you want it removing, just follow through their example on a blank web part page. Shouldn't show up. Let us know if it does. –  James Love Oct 13 '11 at 17:24
    
James: i dont find where exactly it says... can you point out to me? –  Abu Hamzah Oct 13 '11 at 18:01
    
Where it says what? I'm just making an assumption that it's on a page layout. –  James Love Oct 13 '11 at 19:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.