hi,
am opening a pop up which is a application page[_layouts folder] in a modal dialog box , with a label ; and this page has code behind also.
when i loaded this dialog box on a click of a link, it shows the site master page and ribbon.
i dont want to show the master page and ribbon etc.
can anyone tell what code i need to write so that it will open as a web page dialog without applying the site/application master page and ribbons