Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
155
Call double-click on Grid Programmtically?
posted

Would there happen to a be a way to programmtically call DoubleClick on the ActiveRow of a Grid?   

  • 469350
    Verified Answer
    Offline posted

    No, there's no way to programmatically trigger an event.

    You can call the event handler in code just as you would any other method. But this is generally not considered to be good programming practice. The best way to handle something like this is to take whatever code you are calling in the DoubleClick event of the grid and put it into a separate method. Then call that method from the DoubleClick event and from anywhere else you might need it.