Ok, so I wanted to make a gallery page that reads every JPG in my /gallery path, and presents them in a page. So I tried to put a "placeholder" object, and fill it with stuff on C# code on Page_Load.
No Dice.
I tried a bunch of other things, but the only thing that worked was to use a Label component, and in the C#, set Label1.text to include all the HTML I wanted to embed in the page. The Label component seems to me to be an odd control to use for this. Is there a better way, or is this what labels are made for?
Here is the page.
No comments:
Post a Comment