(Atlas) How to Bind response from webservice to Asp:Button

  • Thread starter Thread starter amit
  • Start date Start date
A

amit

I have a web service that returns a string when invoked by an onclick
event on a href.

I know need to bind this string to the commandArgument of an ASP:Button
so that when the button is pressed, I can use the returned argument in
the code behind page to process the appropriate method.

Any ideas how I can do this?

I have manage to return the string from the service and display it on
screen, but cant figure out how to bind it to the asp:button and send
it to the server when the button is pressed.

Cheers

Amit
 
amit,
Copy the response into a hidden field. It will be available on the server.

Good Luck
DWS
 
Back
Top