I'm new to asp.net and started with asp.net2. I am currently looking at a page which displays a menu at the top and content below.
Code:
<%@ Page Language="c#" Inherits="Dcoms.Admin.Web.UI.OrderMenuPage" Trace="False" EnableViewState="False" %>
<%@ Register TagPrefix="Dcoms" TagName="SubMenuBar" Src="./UserControls/SubMenuBar.ascx" %>
<%@ Register TagPrefix="Dcoms" Namespace="Dcoms.Web.UI.ServerControls" Assembly="Dcoms.Web" %>
<Asp:Panel ID="MiddlePane" RunAt="Server">
<Dcoms:CustomPanel RunAt="Server" Width="350px" StyleNumber="1" HeaderText="Order Menu">
<Dcoms:SubMenuBar ID="OrderSubMenu" RunAt="Server" />
</Dcoms:CustomPanel>
</Asp:Panel>
Now this is what I don't understand, how does asp.net know to put the menu bar at the top when I don't see any reference to the menu bar in the page. As a matter of fact all the content pages in the project are like that. In asp.net 2.0 you could use master pages to do this, how is it done here?
EDIT1: Also how can CustomPanel Control be used without a matching register header?