ASP Net Controls ASP.Net Tutorial

<%@ Page Language="VB" %>


    Sub btnSubmit_Click(ByVal sender As Object, ByVal e As EventArgs)
        If rdlOther.Checked Then
            pnlOther.Visible = True
        Else
            pnlOther.Visible = False
        End If
    End Sub



    Show Panel


    
    

    
    Select your favorite programming language:
    
            id="rdlVisualBasic"
        GroupName="language"
        Text="Visual Basic"
        Runat="server" />
    
            id="rdlCSharp"
        GroupName="language"
        Text="C#"
        Runat="server" />
    
            id="rdlOther"
        GroupName="language"
        Text="Other Language"
        Runat="server" />
        
            id="pnlOther"
        Visible="false"
        Runat="server">
        
                    id="lblOther"
            Text="Other Language:"
            AssociatedControlID="txtOther"
            Runat="server" />
                    id="txtOther"
            Runat="server" />    
        
    
    
    
    
            id="btnSubmit"
        Text="Submit"
        OnClick="btnSubmit_Click" 
        Runat="server" />