OnClick Event for Toolbar WebControl

  • Thread starter Thread starter Jim Mitchell
  • Start date Start date
J

Jim Mitchell

I added a toolbar and then added two images that the user can not click on.
I double click on the toolbar in design mode and it does not seem to create
any kind of OnClick Event.

Can someone show me some sample code for the Toolbar's onclick event?

Thanks in advance.
 
ANSWER....

Private Sub Toolbar1_ButtonClick(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Toolbar1.ButtonClick

TextBox1.Text = "Clciked"

TextBox1.Text = sender.ToString()

TextBox1.Text = sender.Text

TextBox1.Text = sender.Index

'TextBox1.Text = e.ToolTip.ToString

'textbox1.Text = sender..gettype.IndexOf(e.Button))



End Sub
 
Back
Top