Quantcast
Channel: Web Forms
Viewing all articles
Browse latest Browse all 23244

CheckChanged event not firing

$
0
0

i have a checkbox and a button on a page.Button is not enabled

i want to enable the button when checkbox is checked

i have this code to enable the button

Protected Sub CheckBox1_CheckedChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles CheckBox1.CheckedChanged
        If DirectCast(sender, CheckBox).Checked = True Then
            Button1.Enabled = True
        Else
            Button1.Enabled = False
        End If
    End Sub

it seems that checkox1.checkchanged event is not firing


Viewing all articles
Browse latest Browse all 23244

Trending Articles



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