M
Marc Castrechini
I have a base composite control that uses templates.
If I add buttons (image, link, etc ..) to the template we can bubble the
event as an item command using the following ...
Protected Overrides Function OnBubbleEvent(ByVal source As Object, ByVal e
As EventArgs) As Boolean
If TypeOf e Is CommandEventArgs Then
Dim cmd As CommandEventArgs = CType(e, CommandEventArgs)
RaiseEvent ItemCommand(Me, New CommandEventArgs(cmd.CommandName,
cmd.CommandArgument))
Return True
End If
Return False
End Function
Does anyone have a reference or know how to override and bubble up the
SelectedIndexChanged event?
Please note that the Autopostback="True" in the template and I don't have a
member to wire up the event manually (although had considered looping
through the template controls to do so).
Final question, Is this group managed?
TIA,
- Castro
If I add buttons (image, link, etc ..) to the template we can bubble the
event as an item command using the following ...
Protected Overrides Function OnBubbleEvent(ByVal source As Object, ByVal e
As EventArgs) As Boolean
If TypeOf e Is CommandEventArgs Then
Dim cmd As CommandEventArgs = CType(e, CommandEventArgs)
RaiseEvent ItemCommand(Me, New CommandEventArgs(cmd.CommandName,
cmd.CommandArgument))
Return True
End If
Return False
End Function
Does anyone have a reference or know how to override and bubble up the
SelectedIndexChanged event?
Please note that the Autopostback="True" in the template and I don't have a
member to wire up the event manually (although had considered looping
through the template controls to do so).
Final question, Is this group managed?
TIA,
- Castro