Oops - you said "web-application". ignore my previous post ( I knew I
was missing something!)
I'd still look at a TextBox with readonly set to true.
Optionally, I believe you can use Response.Write() in the Page's Load
method if you just want it to display on a page:
private void Page_Load(object sender, System.EventArgs e)
{
// Put user code to initialize the page here
Response.Write("This is some text");
}
"anthonysmales" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
I have created a web-service which returns a line of HTML.
I have created a web-application which calls the web-service and then
sets
the Label1.Text property to the output of the web-service, in order to
display the HTML.
This works, but seems very simplistic, so I was wondering if the
humble
Label object is the best tool for the job? I have noticed that there
is a
Panel object that I may be able to use instead. (I would like to be
able to
display XML too).
|