<mn:APNSoftMenu id="m1" runat="server" />
<asp:PlaceHolder id="PlaceHolder1" runat="server" />
[C#] using APNSoft.WebControls; //(step 1)Create component instance APNSoftMenu myMenu = new APNSoftMenu(); myMenu.BasePage = base.Page; myMenu.ID = "mn1"; //(step 2)Set component properties myMenu.StructureFileURL="~/Structures/Menu_Top.xml"; myMenu.ClientScriptSource = APNSoftMenu.ClientScriptSourceValues.ExternalFile; //(step 3)Add the Menu component to PlaceHolder PlaceHolder1.Controls.Add(myMenu); [VB.NET] Imports APNSoft.WebControls '(step 1)Create component instance Dim myMenu As APNSoftMenu = New APNSoftMenu myMenu.BasePage = Me.Page myMenu.ID = "mn1" '(step 2)Set component properties myMenu.StructureFileURL = "~/Structures/Menu_Top.xml" myMenu.ClientScriptSource = _ APNSoftMenu.ClientScriptSourceValues.ExternalFile '(step 3)Add the Menu component to PlaceHolder PlaceHolder1.Controls.Add(myMenu)