Error with Ajax Control

Last post 07-08-2008 9:57 AM by dbrook007. 32 replies.
Page 3 of 3 (33 items) < Previous 1 2 3
Sort Posts: Previous Next
  • 07-08-2008 9:36 AM In reply to

    Re: Error with Ajax Control

    Hi,

    Sonu:

    Please add the following line before public class...

    [System.Web.Script.Services.ScriptService]

    This is required to invoke the service from script.

    I dont think that you need the InitializeComponent(); - You can remove it.

    [System.Web.Script.Services.ScriptService] is already in the code.  The above snippet that does not have this is just what's created when you create a new web service. 

    Thanks - Darren

     

     

    dbrook007
  •  Advertisement

    "With most profiling software, my application runs so slowly that it's barely usable but, with ANTS Profiler 4, even when it's collecting line-level timings, the overhead was hardly noticeable."

    Geoff Hirst, Consultant, 64Bitz Computer Consultancy Ltd and VBUG editor

    Try out the new ANTS Profiler 4 for yourself

    Download your 14-day trial now

     
  • 07-08-2008 9:46 AM In reply to

    • sonu
    • Top 10 Contributor
    • Joined on 05-22-2006
    • Montreal / Canada
    • Slacker
    • Points 9,435
    • MVP

    Re: Error with Ajax Control

    After looking at your project I noticed that you are using the wrong Microsoft.Web.Preview.dll file. You have used the one for 3.5 not 2.0 - use version: v1.2.61025 - I tried your project with that dll and it worked fine.

    [MVP since 2005] [MCAD]
    Webmaster of DotNetSlackers
    Question or Suggestion?
    Feel free to ask my any .NET question
    Our Posting FAQ
  • 07-08-2008 9:57 AM In reply to

    Re: Error with Ajax Control

    Hi,

    Thanks - my mistake. I somehow overlooked that.

    Thanks again.

     

     

    dbrook007
Page 3 of 3 (33 items) < Previous 1 2 3