I am using the following code to trap the onclick event for the Toolbar
Webcontrol. The problem is that I have no way to tell which button on the
toolbar was clicked.
Any ideas?
Thanks in advance.
Private Sub Toolbar1_Button Click(ByVal sender As System.Object, ByVal e As
System.EventArg s) Handles Toolbar1.Button Click
TextBox1.Text = "Clicked"
'TextBox1.Text = sender.GetType. ToString
'TextBox1.Text = e.ToolTip.ToStr ing
'textbox1.Text = sender..gettype .IndexOf(e.Butt on))
End Sub
Webcontrol. The problem is that I have no way to tell which button on the
toolbar was clicked.
Any ideas?
Thanks in advance.
Private Sub Toolbar1_Button Click(ByVal sender As System.Object, ByVal e As
System.EventArg s) Handles Toolbar1.Button Click
TextBox1.Text = "Clicked"
'TextBox1.Text = sender.GetType. ToString
'TextBox1.Text = e.ToolTip.ToStr ing
'textbox1.Text = sender..gettype .IndexOf(e.Butt on))
End Sub