Take the 2-minute tour ×

I have a PopUp opened by


but the content of this Pop Up hasn't any styles of the Sharepoint Portal. (It hasn't access to javascript of the main page, too). It seems that is because SP uses iframes to open it.

How can the Pop Up get the styles from the main page?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Using proper master page ( MasterPageFile="~/_layouts/dialog.master") may get you the same look and feel as out of the box dialog boxes. Check out this nice article:


share|improve this answer

Your Answer


