no I don't want print whole page I want exacly what say in below code
http://aspsnippets.com/Articles/Print-ASPNet-Panel-contents-with-Print-Preview-using-JavaScript.aspx
but I told in last reply I have problem
it did't show div's border or background color and It didn't show text In their place