Re: Displaying ASP page in ASPX page



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.


.



Relevant Pages

  • Synchronize framed page output to browser?
    ... I have an ASP page split up with three different frames. ... takes long time to load (due to long running function) and the first two are ...
    (microsoft.public.inetserver.asp.general)
  • invoking .NET class library from ASP2.0 (Classic)
    ... .NET-COM Interop at ... Invoke public methods in the class library from ASP in IIS5.1 on Windows ... turn OFF anonymous access on the ASP directory (from IIS Manager) ... Try to load the ASP, logging in as someone with Admin rights on the IIS ...
    (microsoft.public.dotnet.framework.interop)
  • invoking .NET class library from ASP2.0 (Classic)
    ... .NET-COM Interop at ... Invoke public methods in the class library from ASP in IIS5.1 on Windows ... turn OFF anonymous access on the ASP directory (from IIS Manager) ... Try to load the ASP, logging in as someone with Admin rights on the IIS ...
    (microsoft.public.inetserver.asp.general)
  • Re: Loading to a DOM object
    ... in the asp page where i load the XML to the DOM object using load. ... The error is from ASP on loading the XML to the DOM object. ...
    (microsoft.public.vb.general.discussion)
  • Re: IIS5 Thread Settings
    ... > IIS will allow as many concurrent ASP threads as is required, ... that means that your user load is only generating that many. ... > given ASP request execute any faster (and may in fact slow it down due to ... >> threads IIS and ASP uses. ...
    (microsoft.public.inetserver.iis)