I have a page, under a master page. I gave a button for printing the page. But the page will be printed along with the master page contents too. How is it possible to print only the contents of the current page excluding the master page contents ?
Share
You need to create a print.css stylesheet which removes the master page markup contents by id and class. the thing to remember is that although you have defined your common content in a masterpage it will still be presented as complete page and therefore you need to remove those unrequired elements before printing.