| re: Noob question about returning HTML
The correct way would be to look at using a placeholder control and put
other controls in it - like table controls or labels.
--
Regards
John Timney
ASP.NET MVP
Microsoft Regional Director
"ToChina" <invalid@email.address> wrote in message
news:uKCpe.47252$G8.5001@text.news.blueyonder.co.u k...[color=blue]
> Hi, I have a simple web page which has a file upload section, where the
> user can select a file, hit the upload button, and then view details about
> the file, which appear underneath the upload section.
>
> The information about the file will be returned as XHTML, therefore I want
> a control on the web form which is just a container for HTML so that in my
> code behind file I can do something like:
>
> // if file has successfully uploaded
>
> htmlContainer.Text = "<table><tr><td>Whatever details</td></tr></table>";
>
> I can't seem to find an appropriate control. What am I missing? apart
> from a brain.
>
> I could use the Response class, but I don't want to lose the file upload
> section at the top of the form.
>[/color] |