G
Guest
I have created a asp.net web form with one datagrid which is used to display some information in tabular format. However, in the page, there are 2 buttons which are "Save" and "Print", when i save the page, i can make the page saved without the 2 buttons in the saved page. However, when i try to print the page by clicking the button, the 2 buttons are shown in the printed page. The result which i want is the page printed without the 2 buttons, how can i achieve this by using javascript. Currently i am using "print()" method in Javascript. Please advice, thank you so much.