Hi Guys,
I need an urgent help for a problem I am facing. I have a web application. We have created a class library that is downloaded to client pc (the users are internal users). Now this dll contains some methods to interact with client pc and pass information to and fro from page to dll and vice versa. Since I had this architecture, I thought if I could create a webform in Class Library project and use the webbrowser control then I will pass the html from webpage to dll and invoke the webbrowser.ShowPreviewDialog() to show the dialog. This worked well with Win POC I created but with Web Page it is not working. I just want some sample solution based on my problem that works well with Wb application. I think this is kind of very challenging. Any help will be highly appreciated.
Thanks in advance.
Amit
Amit ChaurasiaPosted Jul 31, 2013, 7:15 AM
Amit ChaurasiaPosted Jul 31, 2013, 7:14 AM
Thanks for your reply. But I am aware of window.print() & print CSS. But what my agenda is to display the print preview to the user using the same dialog that IE uses. You can check it through File -> Print Preview.
Do you have any idea how this can be accomplished. Also do you have any idea how we can insert page properly in print preview.
Thanks
Amit
abhishek goletarPosted Jul 30, 2013, 10:41 AM
windows.print()
i m not giving u a code solution but give you a way so u can do it
and don't forget to set type="media" when use javascript print functionality
thanks
abhishek goletar