Solved

Can one mix ASP with ASP.NET code?

Posted on 2008-09-30
4
697 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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
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…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

758 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

19 Experts available now in Live!

Get 1:1 Help Now