Mega Code Archive

 
Categories / ASP.Net Tutorial / Custom Controls
 

Adding controls to the Web user control

<%@ Control Language="VB" ClassName="WebUserControl2" %>     <script runat="server">     </script>     <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label> <asp:Button ID="Button1" runat="server" Text="Button" />