This is a migrated thread and some comments may be shown as answers.

Firing the button click event

1 Answer 47 Views
Buttons
This is a migrated thread and some comments may be shown as answers.
Grace Manasseh
Top achievements
Rank 1
Grace Manasseh asked on 08 Apr 2010, 03:38 PM
Hello,

How can i fire the click event of a button? not just calling it as btn_click(this, RoutedEvent)....i will not be able to use this because the button and its event are not in the same class.

I have the button in class1, and its click even is declared in class 2. class 1 is a user control in class 2.

I want to trigger or fire the click in class 1 (in the code behind) so that i get into the event which is written in class 2.

1 Answer, 1 is accepted

Sort by
0
Valentin.Stoychev
Telerik team
answered on 09 Apr 2010, 09:20 AM
Hello Grace Manasseh,

This is not possible becuase it is handled internally and is not exposed publicly.

All the best,
Valentin.Stoychev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Buttons
Asked by
Grace Manasseh
Top achievements
Rank 1
Answers by
Valentin.Stoychev
Telerik team
Share this question
or