Embedding Classic ASP in ASP.NET page.

G

Guest

In the past in my company we have used the following to place the company
banner at the top of the page. In an attempt to be expedient and lazy, I
placed it immediate after the body tag in my template aspx jsut as we did in
classic ASP.
Two questions -- why didn't it work and what should I have done?

<body>
<script language="javascript" type="text/javascript"
src="http://exchangeshared.ibastra.net/pages/ExchangeSharedTopNav.asp">
</script>
....stuff...
 
K

Kevin Spencer

Hi John,
Two questions -- why didn't it work and what should I have done?

It didn't work because you don't program ASP.Net like ASP. They are 2
entirely different approaches to web application development.

What should you have done? Well, you have 2 choices:

1. Learn the ASP.Net programming paradigm.
2. Use ASP (expedient and lazy)

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.
 
W

WJ

Mr Bankhead !

The lazy way is to Response.Redirect("Lazy.asp",true);

The above instruction is the best xcommand to .xfer the control to someone
else, as long as it is web page :)

John BankRupt
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top