Surya sasidhar
Surya sasidhar

Reputation: 30303

How can i show a site in my web application?

in my web application i have a button controls like yahoo button, gmail button etc., when i click on any button i want to show the related site in my web application (i want to show the site in a particular part of my web application) right side corner of my web application how can i show the site, which control i have to use. in window application we have webBrowser control in web application how can i show the website.

Upvotes: 1

Views: 157

Answers (3)

Darin Dimitrov
Darin Dimitrov

Reputation: 1038720

You could use an iframe. When a button is clicked you set its src property to the respective site:

<iframe src="http://www.google.com"></iframe>

Upvotes: 1

Quentin
Quentin

Reputation: 943209

iframe (although some site authors object to having their content embedded in other sites and implement frame bursting techniques)

Upvotes: 1

Kangkan
Kangkan

Reputation: 15571

You ca use an iframe and load the website within your page. Just set the src attribute for the iframe.

Upvotes: 0

Related Questions