Click here to Skip to main content
15,915,771 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Friends,

Here i want to open Print Dailog Control while clicking a button event in aspxpage.But i have tried but its coming in open file dailog.But it should come in print dailog.Can any suggest me regarding this.


Regards,

Anilkumar.D
Posted
Comments
P.Salini 16-Sep-11 7:47am    
can you share some code

1 solution

If you are trying to print your current page then use javascript
window.print()
 
Share this answer
 
Comments
Anil Honey 206 16-Sep-11 8:19am    
not like iam sendind object like image or file any object.window.print will take current object.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900