Hi,
I don't think it's a good idea, it could give you a lot of problems and it could slow down the entire page load.
If you really need it, Obviously you need the consent of the website owner to incorporate it into your web page.
If you have consent you must use the html iframe tag.
You'll find a lot of examples in this website
https://www.w3schools.com/tags/tag_iframe.asp
Member
39 Points
109 Posts
How to open any web page from other web site to own web site page?
Nov 12, 2019 06:54 AM|Neeraj Yadav|LINK
Hi All,
How to open google home page inside our own web page on a click.
google home page should be open inside content placeholder.
Regards,
Neeraj
All-Star
191752 Points
20952 Posts
ASPInsiders
Moderator
MVP
Re: How to open any web page from other web site to own web site page?
Nov 12, 2019 08:10 AM|XIII|LINK
Hi,
you could do it with an iframe and some code:
Code snippet taken from https://stackoverflow.com/questions/10524990/button-or-link-that-changes-page-in-iframe.
Kris
Working with Azure, chatbots, ASP.NET MVC, Web API, EF, MS SQL, ...
Keep the forums clean: report to the moderation team!
All-Star
58484 Points
15807 Posts
Re: How to open any web page from other web site to own web site page?
Nov 12, 2019 03:21 PM|bruce (sqlwork.com)|LINK
Note, many sites have set their security such that they can not be hosted in a frame or iframe.
Member
39 Points
109 Posts
Re: How to open any web page from other web site to own web site page?
Nov 13, 2019 09:00 AM|Neeraj Yadav|LINK
Getting below error.
Please suggest how to resolve.
This content cannot be displayed in a frame
All-Star
58484 Points
15807 Posts
Re: How to open any web page from other web site to own web site page?
Nov 13, 2019 09:32 PM|bruce (sqlwork.com)|LINK
you need to convince the owner of the website to allow you to display it in a frame. if they agree, they will give you the required code.
None
0 Points
4 Posts
Re: How to open any web page from other web site to own web site page?
Dec 03, 2019 02:44 PM|CarlaBomb|LINK
Hi,
I don't think it's a good idea, it could give you a lot of problems and it could slow down the entire page load.
If you really need it, Obviously you need the consent of the website owner to incorporate it into your web page.
If you have consent you must use the html iframe tag.
You'll find a lot of examples in this website https://www.w3schools.com/tags/tag_iframe.asp