Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 714
  • Last Modified:

Can one mix ASP with ASP.NET code?

Hello,

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

Thanks,

Steve
0
skbohler
Asked:
skbohler
  • 2
1 Solution
 
JMT116Commented:
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
 
skbohlerAuthor Commented:
I was hoping they could just intermingle.

But, thanks for the idea.

0
 
JMT116Commented:
They will not work together.  You will need to upgrade your code to run in asp.net.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now