Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to emulate ItemClick() event?
Message
From
09/07/2010 12:14:37
 
 
To
08/07/2010 09:24:32
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01471839
Message ID:
01472016
Views:
29
Which "buttonbar" are you referring to? There are "buttons" on the ToolBar control and The ToolStrip control. I assume you're using one of these two? Looking at controls a bit further, it seems that you're probably talking about the ToolStrip and the ToolStripButton, since that's one place where I see an ItemClicked event. If so, each ToolStripButton has a PerformClick() method you can use for raising the click event.

If my assumptions are wrong, please let us know which "buttonbar" you mean.

~~Bonnie





>For example, I have a form with buttonbar
>
>Each button on this buttonbar has own event ItemClick() where I wrote custom code.
>
>Now I want to scan over buttons of this buttonbar and programmatically ReiseEvent itemclick to call this custom code
>
>How can I make this?
>Thanks
>Denis
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Reply
Map
View

Click here to load this message in the networking platform