I would like to help but I can't because I don't know what errors you received when creating and implementing your control.
If you are experimenting on a production site, I would suggest creating a new site (in a sub-domain possibly), copying your current site to that site, and then experimenting on it.
-Joe