Re: Displaying ASP page in ASPX page
- From: "John Timney \(MVP\)" <x_john@xxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 16 Feb 2007 09:57:02 -0000
Yeah - its pretty difficult without frames. Perhaps you should just use an
iFrame or a popup window and load that using javascript with the correct
URL's. Technically, thats all athe sharepoint PageViewerWebPart really
does.
The alternative would be to use the network classes to get the html from a
remote asp call and load that into your page. You'll need to strip out the
head details, and you may have problems with styles - but you can get it to
work depending on how complex your asp page is, its just a bit of work for
the return. Its easy enough to render that into a panel
--
Regards
John Timney (MVP)
http://www.johntimney.com
http://www.johntimney.com/blog
"MattM" <MattM@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:4E8849FB-5DCF-409A-9032-60CCB13F054E@xxxxxxxxxxxxxxxx
Is there a way to display/render an ASP page inside of an ASPX page with
ASP
.Net 2.0? I'm not trying to back into frames but I have an application
that
will allow me to customize complex rendered reports by adding parms to the
query string of an ASP page and just calling the entire URL. This works
great
for web parts in SharePoint and with a Windows application, but I'm not
sure
how to do it with ASP .Net. In fact, I'm looking for the exact thing that
can
be done in SharePoint and that's a web part that takes a URL as an input
parm.
I'm starting to think that this just isn't possible without frames. I know
the best solution would be to not reference the ASP page but suffice to
say
that's not an option due to time contraints.
Thanks.
.
- Prev by Date: Re: Does My Auto Login Strategy Make Sense?
- Next by Date: Re: Displaying ASP page in ASPX page
- Previous by thread: AutoEventWireup question
- Next by thread: Re: Displaying ASP page in ASPX page
- Index(es):
Relevant Pages
|