Firing the button click event

2 posts, 0 answers
  1. Grace Manasseh
    Grace Manasseh avatar
    10 posts
    Member since:
    Mar 2010

    Posted 08 Apr 2010 Link to this post

    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.
  2. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 09 Apr 2010 Link to this post

    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.
  3. DevCraft banner
Back to Top