PC Review


Reply
Thread Tools Rate Thread

Button Collection for Toolbar WebControl - Determinine which button was clicked

 
 
Jim Mitchell
Guest
Posts: n/a
 
      12th Jul 2003
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_ButtonClick(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Toolbar1.ButtonClick

TextBox1.Text = "Clicked"

'TextBox1.Text = sender.GetType.ToString

'TextBox1.Text = e.ToolTip.ToString

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



End Sub


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RE: Button Text Gets Smaller When Button Clicked On Barb Reinhardt Microsoft Excel Programming 0 18th Mar 2009 01:31 PM
Make an HTML button look like WebControl command button jimryder@gmail.com Microsoft ASP .NET 0 20th Jul 2006 09:05 AM
Inconsistent behavior of an asp.net button performing a postback when a button is clicked. Mossman Microsoft ASP .NET 0 12th Dec 2005 02:55 AM
Detecting if Shift is pressed when Toolbar button is clicked Kejpa Microsoft VB .NET 1 31st Dec 2004 11:28 AM
JavaScript Access to Button in form tags (webcontrol or html button) Wes Weems Microsoft ASP .NET 1 20th Jul 2003 06:27 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:33 PM.