I reviewed the code you pasted, but couldn't notice any wrong usage. You can refer to the Customize the Advanced Form with the Advanced Template User Controls Code Library
. There is a sample project called SQLDataSource
, which implements a similar functionality. Please review it and make the appropriate changes to all the files where your resource is concerned.
Hope this will be useful.
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed