UCL.ASCX code:
Namespace userControl {using system.data; using system.drawing; using system.web; using system.web.ui.webcontrols; using system.web.ui.htmlControls;
///
";
}
#Region Web Form Designer Generated Code Override Protected Void OnNit (Eventargs E) {// // Codegen: This call is required for the ASP.NET Web Form Designer. // initializeComponent (); base.oninit (e);} ///
} #Endregion}}}
TEST.ASPX page
<% @ Page language = "c #" codebehind = "test.aspx.cs" autoeventwireup = "false" inherits = "UserControl.test"%> <% @ register tagprefix = "ucltest" tagname = "UCL" src = "UCL .ascx "%>
<% @ Register tagprefix = "ucltest" TAGNAME = "UCL" src = "ucl.ascx"%>
<% @ Register tagprefix = "ucltest" tagname = "ucl" src = "ucl.ascx"%> <% @ register tagprefix = "ucltest" tagname = "UCL" src = "ucl.ascx"%>
<% @ Register tagprefix = "ucltest" TAGNAME = "UCL" src = "ucl.ascx"%>
<% @ Register tagprefix = "ucltest" TAGNAME = "UCL" src = "ucl.ascx"%>