I would like to better understand what it is you're trying to test. I ask because it is very unusual to want to hook into a button click event and act on it. The normal test sequence is to have the test click the button and then verify the correct response was returned by the web application. Would you mind giving me an overview of what it is you're trying to validate in this particular test case please? Once I understand what you're trying to accomplish I might be able to offer a better and easier way to accomplish it.
To set the text of an input text box you would use code like this:
HtmlInputText textbox = Find.ById<HtmlInputText>(
textbox.Text = text_to_set;
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Public Issue Tracking
system and vote to affect the priority of the items