asp:placeholder control : Placeholder « Asp Control « ASP.Net






asp:placeholder control

<%@ Page Language="vb" %>
<html>
<head>
   <title>Programmatic Control Example</title>
   <script runat="server">
      Sub Page_Init()
         Dim Message As New Literal()
         Message.Text = "This text set from Page_Load!"
         PH.Controls.Add(Message)
      End Sub
   </script>
</head>
<body>
   <form runat="server">
      <asp:placeholder id="PH" runat="server"/>
   </form>
</body>
</html>

           
       








Related examples in the same category

1.Deal with asp:placeholder control from code behind (C#)