Tema: webpanel
Ver Mensaje Individual
  #3 (permalink)  
Antiguo 18/05/2005, 08:24
Damichel
 
Fecha de Ingreso: diciembre-2004
Mensajes: 50
Antigüedad: 20 años, 1 mes
Puntos: 0
Este era mi codigo, antes de ingresar el radiobuttomlist al webpanel y funcionaba bien..pero ahora q tengo q tenerlo dentro del wp no me funciona ...es decir no me reconoce el control radiobuttom, ya que
me aparece subrayado "rblselection"

Private Sub rblselection_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles rblselection.SelectedIndexChanged
Dim selections As Integer = rblselection.SelectedIndex
Select Case selections
Case 0
usuarios()
Case 1
grupos()
End Select

End Sub


Con el codigo del primer mensaje--- me permite hacer cosas como esta
Dim rblselection As System.Web.UI.WebControls.RadioButtonList
rblselection = CType(WebPanel2.FindControl("rblselection"), RadioButtonList)
rblselection.Items(0).Text ="texto1"
rblselection.Items(1).Text = "texto2"

pero no manejar el evento
ya que me aparece subrayado "rblselection"