Click here to Skip to main content
15,885,737 members
Please Sign up or sign in to vote.
1.00/5 (4 votes)
See more:
How to use current browser control such as IE,Mozila control in c# web applications
Posted
Comments
[no name] 21-Mar-12 4:33am    
Your question makes no sense. Please clarify
Sergey Alexandrovich Kryukov 21-Mar-12 4:42am    
Makes no sense. No need to clarify. Just learn how the Web works.
--SA
Member 8587874 21-Mar-12 12:47pm    
sir those who are asking questions to expert are not intelligent as you,ie they are asking a solutions to the expert,if you cant able to answer those silly questions pleasse leave it,why are you trying to discourage them like this.Iam beginner in this field and iam trying to study asp.net myself,i dont have 6-7year experience like you.
Sergey Alexandrovich Kryukov 21-Mar-12 21:01pm    
Thank you for your assessment... but totally irrelevant.

Sorry, your request "please leave it" is totally incorrect, counterproductive and -- forgive me please -- simply rude.

"Makes no sense" is just yet another expert advice, it is constructive, important and definitive, it is supposed to warn you that you are moving in wrong direction. You are supposed to use this advice well, for your own good. If you did not get why it makes no sense, you could ask about it.

The level of experience is totally irrelevant here. I also sometimes ask questions which make no sense, based on wrong assumptions, etc. This is the natural part of getting some knowledge. But I expect "makes no sense" response as one of the possible outcomes (well, depending on how much I'm familiar with the field), and try to learn from this response.

You are advised to act this way, too.

As I can see, three people already told you the question makes no sense, one asked for clarification. I think, for a reason. You really need to clarify what you want to achieve. The question makes no sense because you don't use those controls in Web applications; you use then just to embed a Web browser functionality in your application. Such application has nothing to do with Web application; it's just yet another form of the browser. A Web application has no access to the browser. It works on HTTP request and send back HTTP response -- that it's full like cycle. I cannot have any concerns on the environment you run the client. This is something I meant when suggested you to learn now Web works first.

As to you claim of being the beginner, I would suggest you begin, not whine. Don't fall into the "fool's infinity" cycle:
-- 'Answer my question'.
-- 'It makes no sense'.
-- 'No, I'm the beginner. Please answer my question'
If the question makes no sense, it needs adding some sense. This is not what you are doing right now.

I hope I explained you some relevant things...
Thank you for understanding,

--SA
Member 8587874 22-Mar-12 2:44am    
I am extremely sorry,Now i can understand it very well,and thank you

You need to do this via javascript, using window.print(). This opens the print dialog.

Fuller instructions can be found here[^]
 
Share this answer
 
Use the WebBrowserControl in your application. Then load any page in it.
 
Share this answer
 

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