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.




test.aspx



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

</asp:ScriptManager>

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

]
function test()
{
Service1.Send(str_output,Output);
}


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



Webservice

[WebMethod]
public string Send(String strMessage)
{
string strReturn = "";


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

}