Search:
Namespaces
Discussions
.NET v1.1
Feedback
Using ascx Files inside of "Classic" ASP forms
Messages
Related Types
This message was discovered on
ASPFriends.com 'aspngmigrate' list
.
Scott Mahler
-- Moved from [aspngfreeforall] to [aspngmigrate] by Marcie Jones <
Click here to reveal e-mail address
> --
Hi all,
I'm in the midst of a giant conversion of asp pages to .NET pages, and I
was wondering
If there is anyway to include an ASCX page inside of a .asp page
I have a header control, that I would like to put on my old .asp pages,
to help with the transition
(The header control has a lot of functionality in it, I'd like to use)
TIA
Scott
Reply to this message...
Johnson, Peter
One option is to use a web service to serve up the HTML for your header.
Steve Smith used that solution on ASP Alliance in place of a user control,
and describes it here:
http://www.aspalliance.com/stevesmith/articles/netreuse1.asp
You may have to rearchitect the way you're doing some things in the user
control but it might be worth it.
Now from ASP, you could consume the web service (i.e. call it and get the
HTML for your header) using the SOAP Toolkit:
http://msdn.microsoft.com/library/en-us/dnsoap/html/soap1and2.asp
Not sure if this is the best way to do what you're wanting (I've never used
the SOAP Toolkit to be honest), but it is one.
--Peter
[Original message clipped]
**********************************************
This e-mail and any attachments may be confidential or legally privileged.
If you received this message in error or are not the intended recipient, you
should destroy the e-mail message and any attachments or copies, and you are
prohibited from retaining, distributing disclosing or using any information
contained herein. Please inform us of the erroneous delivery by return
e-mail. Thank you for your cooperation.
**********************************************
ec03/04
Reply to this message...
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us
-
Terms of Use
-
Privacy Policy
-
www.dotnet247.com