By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,987 Members | 1,291 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,987 IT Pros & Developers. It's quick & easy.

Simulating an event

P: n/a
I'm using a third party tree view control on my web app. I have built a
web control that is used throughout the application.

When a user clicks on a node in the tree, the nodes click event is
fired. This calls a public event that the consuming page can use as
it's up to that page to do what it wants at that time.

I'm trying to add a new feature in the control that will fire the click
event automatically given a certain scenario. The consuming page
requires the event to be fired as the signature is something like
event(object sender, TreeNodeEventArgs e)

I need to simulate this event but don't know how to create the
"TreeNodeEventArgs" event. The consuming page is depending on the
EventArgs class to be passed in.

Can someone tell me how to do this?
Sent via .NET Newsgroups
May 10 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.