CheckedChanged Event doesn't work?

J

Jump Off!

Hi,

I work with ASP.NET v2 (visual web dev 2005 express) and,
when i want to use the CheckedChanged Event of a checkbox,
it doesn't work.

I want to enable a button when checkbox is checked, and
disable the button when it's unchecked.
But not working, even if you make other things.

Is it normal?

Thank yall!
 
J

Jos

Jump said:
Hi,

I work with ASP.NET v2 (visual web dev 2005 express) and,
when i want to use the CheckedChanged Event of a checkbox,
it doesn't work.

I want to enable a button when checkbox is checked, and
disable the button when it's unchecked.
But not working, even if you make other things.

Is it normal?

Did you set AutoPostback=True?

Did it work in ASP.NET 1.1?
 
J

Jump Off!

yes i put autopostback true :/
i dont know cause i have not v1.1.. only 2beta !
if someone could try ;)

bye
 
J

Jos

Jump said:
yes i put autopostback true :/
i dont know cause i have not v1.1.. only 2beta !
if someone could try ;)

You can download v1.1 at www.asp.net.

Did you use databinding for your checkboxlist?
If so, you should not databind on postback, like this (VB):
If(Not Page.IsPostBack) Then
' databinding goes here
End If

If this doesn't help, show us your code.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top