i wish to programatically Left Click or Right Click on a particular cell of a grid.
The behaviour i expect is one that would be same as manually clicking on it.
The grid is already setup to handle the mouse clicks.
Any help appreciated, and if the solution has sending a MouseEventArgs event that would be great.
eg:) if the cell has data, it should enter the edit mode, and if it has a button, with a callback, that should be called, if its a right click the context menu should be displayed. Thanks.
Hello,
Thank you for your post. I have been looking into it and I suggest you use TestApi which you can download from here:
http://testapi.codeplex.com/
and also you can read this blog:
http://blogs.msdn.com/b/ivo_manolov/archive/2008/12/15/9223397.aspx
where it is an introduction on how to use it.
Hope these help you.