Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Can one mix ASP with ASP.NET code?

Posted on 2008-09-30
4
Medium Priority
?
712 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 3

Accepted Solution

by:
JMT116 earned 200 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…

688 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