Call Togglebutton click from other button

2 posts, 0 answers
  1. HDS
    HDS avatar
    1 posts
    Member since:
    Feb 2009

    Posted 27 Feb 2009 Link to this post


    I want to call the routine


    Sub cmd_StartStop_1A_ToggleStateChanged(ByVal sender As System.Object, ByVal args As Telerik.WinControls.UI.StateChangedEventArgs) Handles cmd_StartStop_1A.ToggleStateChanged

    after a click on an other button. Is this possible?


  2. Boyko Markov
    Boyko Markov avatar
    610 posts

    Posted 02 Mar 2009 Link to this post

    Hi HDS,

    Yes, it is possible. The ToggleStateChanged event is fired when the ToggleState property of the toggle button is set.  The solution is to set the ToggleState property in the click event handler of some other button.

    Please let me know if you need more assistance. 

    Best wishes,
    Boyko Markov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top