want to display progressbar with persantage like 10,20,...100%.
calling webservice from my aspx page and webservice will call some third party component(like vc++) and returns the multiple outputs
like 10,20,....100

how do i get multiple outputs for single call to webservice?

my task is based on output returned by the third party component i need to display the progressbar.

how can i do this? please advice me.


<asp:ScriptManager ID="ScriptManager1" runat="server">
<Services >
<asp:ServiceReference Path="Service1.asmx" />


<input id="Imagebutton3" type="button" onClick="test/>

function test()

function Output(result)
alert(result)// its always showing first retun value say 10 only.


public string Send(String strMessage)
string strReturn = "";

byte[] baMessage = EncodeMessage(strMessage);
System.Net.Sockets.TcpClient tcpClient = new System.Net.Sockets.TcpClient();
tcpClient.Connect("", "190");
NetworkStream networkStream = tcpClient.GetStream();
networkStream.Write(baMessage, 0, baMessage.Length);
byte[] baReturn = new byte[tcpClient.ReceiveBufferSize];
networkStream.Read(baReturn, 0, tcpClient.ReceiveBufferSize);
strReturn = DecodeMessage(baReturn);
return strReturn;