Click here to Skip to main content
15,884,237 members
Please Sign up or sign in to vote.
2.00/5 (3 votes)
See more:
I want to call a click event of a button without manually clicking it.

I tried but I am getting error on object e.

Is there any way to do this.
Posted
Comments
[no name] 24-Jul-14 8:55am    
Yes there is a way. Take the code out of the button click hander, put that in a function, then call that.
KUMAR619 24-Jul-14 9:06am    
You know what that click event need to happen automatically because the form is hidden.
I need to use that object e.

Anyway thanks for helping me
[no name] 24-Jul-14 9:12am    
No I do not know that at all. Oddly enough, we can't see your screen, your code or read your mind.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900