Create a code behind of the ascx and from there you can access the controls in the control template. If you need to use some control events you can subscribe for them inside Page_Load. Note that the ascx file you use is just a template of the control content view control.
All the best,
the Telerik team