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
Collection problems (create Collection object, add data to collection, bind collection to datagrid) Øyvind Isaksen Microsoft ASP .NET 1 18th May 2007 10:24 AM
Collection problems (create Collection object, add data to collection, bind collection to datagrid) Øyvind Isaksen Microsoft Dot NET 1 18th May 2007 10:24 AM
Trapping an Exception ocurring in a Webcontrol at the Page or parent WebControl level. Microsoft ASP .NET 2 31st Jan 2005 07:34 PM
cell clicked on webcontrol datagrid EMW Microsoft ASP .NET 6 21st May 2004 08:30 PM
Storing WebControl.Width and WebControl.Height int variables xiko tripa Microsoft C# .NET 4 14th Nov 2003 01:06 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:58 AM.