Dynamically load .asmx web-service

Posted by Tierney on Stack Overflow See other posts from Stack Overflow or by Tierney
Published on 2009-09-04T16:33:41Z Indexed on 2010/04/01 22:03 UTC
Read the original article Hit count: 338

Filed under:
|
|

I have an .aspx page that can perform a number of functions. The type of function is determined at run-time depending on which button the user clicks. This makes makes a web-service call to an .asmx method. The web-service call returns html and javascript which then become part of the original page.

This new content has javascript events attached to button clicks, data validation etc. In turn these events then call their own web-service methods in another .asmx file. The main page does not know about these other .asmx files when the page loads.

So, is there any way of dynamically loading these .asmx files on demand?

© Stack Overflow or respective owner

Related posts about asmx

Related posts about web-service