Hello,
With ASP.NET 2, how to have the content of an external URL page (html) and
put it in my aspx page ???
Thanks a lot !! 8 5437
Ok it's works...but how to hide the source ??? i see in the state view that
IE load the url what i put in iframe...
Possible to hide Internet explorer View state when it load a page ???
Thanks a lot !!!!
"Mark Rae [MVP]" <ma**@markNOSPAMrae.neta écrit dans le message de
news:uF**************@TK2MSFTNGP05.phx.gbl...
"user" <us**@user.comwrote in message
news:62**********************************@microsof t.com...
>With ASP.NET 2, how to have the content of an external URL page (html) and put it in my aspx page ???
http://www.google.co.uk/search?sourc...eNET%22+iFrame
--
Mark Rae
ASP.NET MVP http://www.markrae.net
"user" <us**@user.comwrote in message
news:8D**********************************@microsof t.com...
[please don't top-post]
>>With ASP.NET 2, how to have the content of an external URL page (html) and put it in my aspx page ???
http://www.google.co.uk/search?sourc...eNET%22+iFrame
Ok it's works...but how to hide the source ??? i see in the state view
that IE load the url what i put in iframe...
Possible to hide Internet explorer View state when it load a page ???
No.
--
Mark Rae
ASP.NET MVP http://www.markrae.net
And if the external url is a link to a pdf file (not a plain html file)....
possible ???
Thanks a lot !!!!
"John Timney (MVP)" <xy******@timney.eclipse.co.uka écrit dans le message
de news:qP*********************@eclipse.net.uk...
httpwebrequest will get you the html http://msdn.microsoft.com/en-us/libr...st(VS.95).aspx
Then you'll need to strip out what you can't use, like the html wrappers,
and body wrappers.
Regards
John Timney (MVP) http://www.johntimney.com http://www.johntimney.com/blog
"user" <us**@user.comwrote in message
news:62**********************************@microsof t.com...
>Hello, With ASP.NET 2, how to have the content of an external URL page (html) and put it in my aspx page ???
Thanks a lot !!
System.Net.WebClient client = new WebClient();
client.DownloadFile("remoteURL", "localfilepath");
Regards
John Timney (MVP) http://www.johntimney.com http://www.johntimney.com/blog
"user" <us**@user.comwrote in message
news:30**********************************@microsof t.com...
And if the external url is a link to a pdf file (not a plain html
file).... possible ???
Thanks a lot !!!!
"John Timney (MVP)" <xy******@timney.eclipse.co.uka écrit dans le
message de news:qP*********************@eclipse.net.uk...
>httpwebrequest will get you the html http://msdn.microsoft.com/en-us/libr...st(VS.95).aspx
Then you'll need to strip out what you can't use, like the html wrappers, and body wrappers.
Regards
John Timney (MVP) http://www.johntimney.com http://www.johntimney.com/blog
"user" <us**@user.comwrote in message news:62**********************************@microso ft.com...
>>Hello, With ASP.NET 2, how to have the content of an external URL page (html) and put it in my aspx page ???
Thanks a lot !!
"John Timney (MVP)" <xy******@timney.eclipse.co.ukwrote in message
news:qa******************************@eclipse.net. uk...
>And if the external url is a link to a pdf file (not a plain html file).... possible ???
System.Net.WebClient client = new WebClient();
client.DownloadFile("remoteURL", "localfilepath");
Yes, but you'd have to know in advance that the remote content was a file
rather than a page...
And, if you knew that already, wouldn't you just use a hyperlink...?
--
Mark Rae
ASP.NET MVP http://www.markrae.net
I don't want people to know the url source !!! a kind of way to hide it !!!
"Mark Rae [MVP]" <ma**@markNOSPAMrae.neta écrit dans le message de news: ee**************@TK2MSFTNGP03.phx.gbl...
"John Timney (MVP)" <xy******@timney.eclipse.co.ukwrote in message
news:qa******************************@eclipse.net. uk...
>>And if the external url is a link to a pdf file (not a plain html file).... possible ???
System.Net.WebClient client = new WebClient(); client.DownloadFile("remoteURL", "localfilepath");
Yes, but you'd have to know in advance that the remote content was a file
rather than a page...
And, if you knew that already, wouldn't you just use a hyperlink...?
--
Mark Rae
ASP.NET MVP http://www.markrae.net This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: jonathan.beckett |
last post by:
Hi All,
For the past few months I have been working on an open source
Apache/PHP/MySQL content management system - and have recently made it
available for download.
It's still very much a...
|
by: jonathan.beckett |
last post by:
Hi All,
I have just made version 0.4.8 of the PluggedOut CMS Content Management
System available for download - it's free, and covered by the GPL.
It's still very much a work in progress...
|
by: Timothy Casey |
last post by:
Is there any way to code an external style sheet to ensure that all pages
opening with a reference to that style sheet include generic content such as
headers, logos, taglines, universal navigation...
|
by: Emmett |
last post by:
I have a simple jacascript that randomizes the background of the top
frame of my webpage http://www.duke.edu/~efn. For some reason, my
Internet Explorer started blocking the background and...
|
by: sub |
last post by:
I'm using plone primary as a news system for my school.
Now I want to integrate external sources into my plone site.
The page is...
|
by: Tony |
last post by:
I have a windows media file that I want to play on a webpage but the
stupid activex content blocker keeps on poping up. I have heard that
there is a way of getting around this or to preload the...
|
by: erictomlinson |
last post by:
I'm dying here trying to figure this out for days.
Here's the scenario:
1) External script.as file dynamically imported to loader.swf file that creates a textfield
(createTextField)
2)...
|
by: Andrea Anastasescu |
last post by:
Hi everybody,
Inside the web.config of my application I have some custom sections. I have
my own handlers for these sections, and their content is in external files.
My problem is that...
|
by: jad2006 |
last post by:
Hi guys
We have a requirement like in one iframe we have to show one site and in another iframe we have to show some other external site, we did it using
<iframe src="http://www.a.com">...
|
by: LaundroMat |
last post by:
Hi -
I'm working on a Django powered site where one of the required
functionalities is the possibility of displaying the content of
external pages, with an extra banner at the top where specific...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
| |