Hi,
Thanks for the reply, however I am not sure exactly what you mean.
I am writing in vb so I have converted your code to what is shown below. However I am having trouble with the attribute 'IDReferencePropertyAttribute' and the type 'ControlIDConverter', VS is complaining that they are both undefined. I have searched the documentation and cannot find reference to them in any namespace. What Am I doing wrong??
<IDReferencePropertyAttribute(
GetType(System.Web.UI.Control)), TypeConverter(GetType(ControlIDConverter))>
Thanks,
Andy