When I use this RadioButtonList into a Page no events are fired ? why ?Public Class Options : Inherits RadioButtonList
Sub New()
MyBase.New()
AddHandler Me.Init, AddressOf Me.Init_Control
End Sub
Private Sub Init_Control(ByVal sender As Object, ByVal ea As EventArgs)
'let say the control has ListItems
AddHandler MyBase.SelectedIndexChanged, AddressOf Me.OptionsEvent
MyBase.AutoPostBack = True
End Sub
Private Sub OptionsEvent(ByVal sender As Object, ByVal e As EventArgs)
Response.Redirect("?Char=" + Me.SelectedItem.Value.ToString)
End Sub
End Class
and I hope in the Net 2.0 it will be easier to get events just as backgroundcolors ....
thanks for helping
angiras