-
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?
-
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"/>