Solved

Can one mix ASP with ASP.NET code?

Posted on 2008-09-30
4
700 Views
Last Modified: 2009-02-25
Hello,

Will it work if a person includes classic ASP code in a ASP.NET file?

Thanks,

Steve
0
Comment
Question by:skbohler
  • 2
4 Comments
 
LVL 3

Accepted Solution

by:
JMT116 earned 50 total points
ID: 22605880
If you need to run asp code you can use an iframe to run a regular .asp page inside of the .aspx page.  This will allow you to keep your existing site look and feel but include the old code.

Just add an iframe in your content area like the example below.  You can also set width and height of an iframe.  For more information about iframes: http://www.w3schools.com/TAGS/tag_iframe.asp.

<iframe src="classic.asp"></iframe>
0
 

Author Comment

by:skbohler
ID: 22605936
I was hoping they could just intermingle.

But, thanks for the idea.

0
 
LVL 3

Expert Comment

by:JMT116
ID: 22625959
They will not work together.  You will need to upgrade your code to run in asp.net.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Asp.net mvc 5 5 43
SQL best practice question 3 36
Asp.net mvc foreach 3 34
ADO.NET ENTITY DATA MODEL 3 30
Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Edureka is one of the fastest growing and most effective online learning sites.  We are here to help you succeed.

912 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now