Dont read de controls in the page..

N

Newton

Protected Sub CheckBox1_CheckedChanged(ByVal sender As Object,
ByVal e As System.EventArgs) Handles CheckBox1.CheckedChanged
Response.Redirect("Ativ_usuarios.aspx?check=" &
CheckBox1.Checked)
End Sub

Dont work ... =( ... anyone can help me ?
 
K

kimiraikkonen

    Protected Sub CheckBox1_CheckedChanged(ByVal sender As Object,
ByVal e As System.EventArgs) Handles CheckBox1.CheckedChanged
        Response.Redirect("Ativ_usuarios.aspx?check=" &
CheckBox1.Checked)
    End Sub

Dont work ... =( ... anyone can help me ?

What do you want to do exactly?
Check box's checkedchanged event is fired when you click on that
checkbox as you know precisely, simple put your code inside that
event.

Read about response.redirect guessing ASP:

http://www.w3schools.com/asp/met_redirect.asp
 

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

Top