Author: anandr70 | Posted on: 7/22/2007 12:21:51 PM | Views : 304

Hello

 Adding service reference for a usercontrol making async web service calls works great as long as the control is NOT dynamically loaded. The service proxy javascript doesn't seem to come down from the service. Therefore the call to the webservice call fails. However any scriptreferences to this control (implemented as IScriptControl) works fine. Any ideas on how to get around this limitation?

 

 protected override void OnPreRender(EventArgs e)
        {
            this.pre
            if (!this.DesignMode)
            {
                // Test for ScriptManager and register if it exists
         ...

Go to the complete details ...