SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I created a data view web part to display bread crumb(based on my site categories) on my sharepoint 2010 site. After creation I exported the webpart and uploaded to Web part gallery.

When I try to add web part in webpart zone by editing any page, it works fine.

I need to add this webpart on every page of my site so I thought of adding it in the layout page.

So I added the webpart in the page layout using SPD. But it is not displaying. My layout has has other web parts (some custom web parts and rating control) also and they are displaying properly.

It seems like that DVWP can not be added to page layout because when I edited the pages after adding the web part the zone was empty.

Could someone suggest something on this?

share|improve this question
up vote 0 down vote accepted

You can Add the DataView Web parts to page layouts but the catch is that you need to delete the WebPartZones. Try to add DataViewWebparts as it is and don't wrap it under WebPartZones.


share|improve this answer
Thanks a lot... worked like charm. – Mohit Aug 2 '13 at 11:50

Your Answer


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.