473,467 Members | 1,468 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Render ASP via ASP.net page.

Hello all,

It is possible to render an ASP page in a ASP.net page? Options such as
re-writing the ASP page isn't an option at the moment so any pointers on the
above would be great.

Thanks,

Jon
Jul 3 '07 #1
3 1117
Or you could have ASP and ASP.NET pages on the same site (especially if you
don't use extensively session variables as they are not shared).

If you meant show the ASP page as part of an ASPX page you could use an
iframe.

---
Patrice

"Jon" <Jo*@discussions.microsoft.coma écrit dans le message de news:
B1**********************************@microsoft.com...
Hello all,

It is possible to render an ASP page in a ASP.net page? Options such as
re-writing the ASP page isn't an option at the moment so any pointers on
the
above would be great.

Thanks,

Jon

Jul 3 '07 #2
If you can't rewrite the asp to .NET then leave it be. I don't see any
reason or benefit in running ASP code on a .aspx page.

You can't run ASP and ASP.NET under the same site. You can create a new
virtual directory to run you .NET pages and point your code to there but
again, if you don't have time to convert it over to .NET and it has to stay
as ASP then just leave it as ASP.


"Jon" <Jo*@discussions.microsoft.comwrote in message
news:B1**********************************@microsof t.com...
Hello all,

It is possible to render an ASP page in a ASP.net page? Options such as
re-writing the ASP page isn't an option at the moment so any pointers on
the
above would be great.

Thanks,

Jon

Jul 3 '07 #3
More precisely ASP and ASP.NET pages won't share sessions for example as
they are handled by a distinct "engine" but you can have both ASP and
ASP.NET pages at the same location (including in the same physical
directory).

--
Patrice

"Mike" <Mi**@community.nospam.coma écrit dans le message de news:
Ow**************@TK2MSFTNGP03.phx.gbl...
If you can't rewrite the asp to .NET then leave it be. I don't see any
reason or benefit in running ASP code on a .aspx page.

You can't run ASP and ASP.NET under the same site. You can create a new
virtual directory to run you .NET pages and point your code to there but
again, if you don't have time to convert it over to .NET and it has to
stay as ASP then just leave it as ASP.


"Jon" <Jo*@discussions.microsoft.comwrote in message
news:B1**********************************@microsof t.com...
>Hello all,

It is possible to render an ASP page in a ASP.net page? Options such as
re-writing the ASP page isn't an option at the moment so any pointers on
the
above would be great.

Thanks,

Jon


Jul 4 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Tomas | last post by:
Is there any sequence diagram on the web that clearly shows in which order all Page methods (load, render and so on) are being called compared to the order the page's contained control methods are...
2
by: Andrea Williams | last post by:
I have a form where the user chooses reporting options and when submit is clicked, I need to present them with dynamically created excel file. In Classic ASP I would just change the viewing...
4
by: Zuel | last post by:
Hi Folks. So I have a small problem. My DoPostBack function is not writen to the HTML page nor are the asp:buttons calling the DoPostBack. My Goal is to create a totaly dynamic web page where...
5
by: sk | last post by:
Hi, I'm trying to override the Render method of my Page class. Are there any standard guidelines for this? Thanks. Shardul
2
by: Tony | last post by:
I have a very peculiar problem that I am hoping someone can point me in the right direction on. I have an asp.net page that displays a virtual paycheck to a user. One asp.net page calls another...
3
by: John Hughes | last post by:
I'm trying to add a user control to a form via the pages render method and I get the following error : "Control 'Button1' of type 'Button' must be placed inside a form tag with runat=server" ...
1
by: Kevin R | last post by:
This is one of the weirdest problems I have ever run into. I have had to trim down a bunch of code to give a sample that is more easily readable by those who will view this. Here is the problem:...
0
by: Raghu | last post by:
Hi All, I am building Report application using ASP.Net and C#. The report will be shown to the user in aspx page. The report inputs are taken at runtime like columns user wants to see and...
13
by: Bob Jones | last post by:
Here is my situation: I have an aspx file stored in a resource file. All of the C# code is written inline via <script runat="server"tags. Let's call this page B. I also have page A that contains...
2
by: Just Me | last post by:
Does anyone know if one can get to a representation of the rendered page ( after ) render. ?
0
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.