Hi,
I'm working on a website that allows admin to upload files and for people to see them in the nice front-end. I'm using an accordion control to organise the files (or assets, as I've referred to them in my code) and I'm using placeholders in the content tags to allow me to show as many assets as required.
To make it pretty, I'm creating a label for the asset name, a thumbnail pic, asset description and download link. Now, rather than adding a label, image, label and hyperlink to the placeholder, I think it would be more elegant to put all those controls into a web user control and then add those to the placeholder. This is where I become stuck. It's moaning about the object not being instantiated but as far as I can see, all is good.
I'm struggling to add a pic, but visually, it looks like:
[AssetTypeLabel]
[Image]
[AssetName]
[AssetDetail]
[LoResLink]...
Here's the HTML code for the control: ...
Go to the complete details ...