Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

radiobutton not working inside update panel?

$
0
0

Hi

why is this noty working

I have the below code when I click yes/no radiobutton nothing happens,why?

<tr><td><asp:ScriptManager runat="server"></asp:ScriptManager> <asp:UpdatePanel runat="server"><ContentTemplate>  on Site :  <asp:Radiobutton runat="server" ID="Radiobutton1" Text="Yes" AutoPostBack="true" GroupName="e1" OnCheckedChanged="Radiobutton1_CheckedChanged" /><asp:Radiobutton runat="server" Groupname="e1" autopostback="true" ID="Radiobutton2" Text="No" OnCheckedChanged="Radiobutton2_CheckedChanged"/></ContentTemplate></asp:UpdatePanel>
 Protected Sub Radiobutton1_CheckedChanged(sender As Object, e As EventArgs)
        GridView1.Visible = True
    End Sub
    Protected Sub Radiobutton2_CheckedChanged(sender As Object, e As EventArgs)
        GridView1.Visible = False
    End Sub




Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>