ASP.NET ASP.NET - Basic Controls

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Insert
> Step 2: And Like the video. BONUS: You can also share it!

Syntax

  • <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Click" / > <asp:TextBox ID="txtstate" runat="server">
  • </asp:TextBox> <asp:CheckBox ID= "chkoption" runat= "Server"> </asp:CheckBox> <asp:RadioButton ID= "rdboption" runat= "Server"> </asp: RadioButton>
  • <asp:ListBox ID="ListBox1" runat="server" AutoPostBack="True"
    OnSelectedIndexChanged="ListBox1_SelectedIndexChanged"> </asp:ListBox>
  • <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True"
    OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged"> </asp:DropDownList>
  • <asp:RadioButtonList ID="RadioButtonList1" runat="server" AutoPostBack="True"
    OnSelectedIndexChanged="RadioButtonList1_SelectedIndexChanged"> </asp:RadioButtonList>
  • <asp:CheckBoxList ID="CheckBoxList1" runat="server" AutoPostBack="True"
    OnSelectedIndexChanged="CheckBoxList1_SelectedIndexChanged"> </asp:CheckBoxList>
  • <asp:BulletedList ID="BulletedList1" runat="server"> </asp:BulletedList>
  • <asp:HyperLink ID="HyperLink1" runat="server"> HyperLink </asp:HyperLink> <asp:Image ID="Image1" runat="server">


Got any ASP.NET Question?