I have created a WebUsercontrol that will be loaded dynamically for every DVD I have to offer.
The control has Properties that needs to set the DVD image, detail etc as setup in the database.
It works fine if I drag the control onto the page, and then pupulate the controls properties, but ...
when I try to set it up dynamically (.add method), I cannot see the properties - they are not available
I have found a so-called solution on the web - but it does nothing : This is what was suggested:
Add a reference to your page:<%@ Reference Control="~/WebUserControl.ascx" %>
I have done so with no effect - I assume WebUserControl should actually be my control's name 'cos it generates an error as is not finding it
Mine then looks like this:
<%@ Reference Control="~/DVDControl.ascx" %>
Please help if anyone knows what is wrong, or how to overcome the problem
Cheers
WB