Hey there, i got this very annoying problem: I have a CheckBoxList getting items from a datasource with it's values and all. What I need is to show some panel when Item with value "33" is Checked. So I Need to get the Clicked Item, Last Clicked, or something... I tried a lot of ways and it just won't work... None of the following 3 lines can get me the Value i need:
protected void chkServicos_SelectedIndexChanged(object sender, EventArgs e)
{
//
// Just trying to get the "clicked" value
//
CheckBoxList cbl = sender as CheckBoxList;
Response.Write(cbl.SelectedIndex);
Response.Write(cbl.SelectedItem);
Response.Write(cbl.SelectedValue);
}