Threading?

M

Mohammad Samara

Hello everyone,

I want to display a message in an ASP.NET page label while the application
is busy contacting a web service to retrieve some info. Do I have to use
threading in C# to display the message in order for the rest of the code to
retrieve the info from the web service?

Thanks.
 
H

Hermit Dave

just use a normal Response.Write to diplay the message and make sure you
call Response.Flush();... after that you can continue waiting for the
webservice to return data...
 
M

Mohammad Samara

Thanks Hermit, that worked ok, I just can't get rid of the message displayed
by Response.Write() after the service retrieves the info, I have tried
Reponse.Clear() with no luck as well.

Any ideas?

------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top