Thank you for writing.
In this case you are correct, calling the base OnClick
method will not fire the Click event. The proper way to achieve this functionality will be to disable the button and call the DoEvents
method of the application in order to make sure that the button is painted. Then reset the button state and call the element PerformClick
method which will trigger the Click event:
MyButton : RadButton
i = 0; i < 1500; i++)
//do some work
I hope this helps. Should you have any other questions do not hesitate to ask.
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos
and start improving your app based on facts, not hunches.