Web Service Behavior in an ASP.NET User Control
Posted on 2004-09-03
I have not been able to come across any documentation describing how to invoke WebService behavior from inside a User Control.
The documentation dealing with using this behavior from within an ASP.NET page has you leverage the "onload" event of the <body> element of the page, as follows:
<div id="service" style="BEHAVIOR: url(webservice.htc)"></div>
where the function init() is defined in script as follows:
// Create an instance of the web service and call it svcEmployee
As I understand, you do not have the luxury of using a <body> element when it comes to User Controls. My problem is how to invoke such an initialization function when I have no access/control to the page code.
Any help appreciated,