Integrating ASP & ASP.NET pages


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: Integrating ASP & ASP.NET pages

  1. #1
    Join Date
    Feb 2004
    Posts
    24

    Integrating ASP & ASP.NET pages

    I’m working with some ASP pages that use lines such as
    <!-- #include virtual =”xxx.asp” --> for headers and footers.
    Can this sort of stuff exist in an ASP.NET page using the existing ASP pages or does a new .ASCX file need to be created for each instance?

    Thanks,
    ~ Ben

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    You may use #include files in ASP.NET pages, but the code within them must be ASP.NET code, not Classic ASP. To my knowledge, there's no way to mix Classic ASP and ASP.NET code on the same page.
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

  3. #3
    Join Date
    Feb 2004
    Posts
    24
    Thanks Phil. Would Classic ASP and ASP.NET be able to pass variables (security info, login info for user rights, ...) back and forth?

  4. #4
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

Similar Threads

  1. convert my asp pages to asp.net
    By Emad Ramadan in forum ASP.NET
    Replies: 4
    Last Post: 09-30-2008, 07:12 AM
  2. Replies: 2
    Last Post: 08-01-2005, 03:12 PM
  3. how can I convert my asp pages into asp.net ?
    By Emad Ramadan in forum ASP.NET
    Replies: 0
    Last Post: 08-21-2002, 10:41 PM
  4. Replies: 0
    Last Post: 07-02-2002, 08:20 AM
  5. VirtualQueryEx
    By MacDeath in forum VB Classic
    Replies: 2
    Last Post: 02-14-2001, 05:44 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center