|
-
Sep 20th, 2002, 12:55 PM
#1
Thread Starter
Member
embed an asp inside asp?
How can I embed an vb asp page inside another? kind of like in a frame (vb frame control, not an html frame).
Basically i am designing a very complex intranet page with many different features, e.g. a poll, welcome note, simple BBS and it will get very complicated with it all in one aspx file. I really need one aspx file to do each job and somehow embed it in the master one in the right place. any ideas?
-
Sep 20th, 2002, 01:01 PM
#2
User Controls (.ascx) pages.
build your template and name it to something.ascx
Make sure that this is at the top
<%@ Control Language="VB" %>
. then on the aspx page you need to call that template:
at the top of the page
<%@ Register TagPrefix="TAL" TagName="AddPlayer" Src="Pagelets/newuser.aspx.ascx" %>
change as needed
then stick it where you need it
<TAL:AddPlayer runat="server"/>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|