Convert ASP.NET site to AJAX

Last post 04-01-2008 12:49 AM by priyanka.poman. 2 replies.

Sort Posts:

  • Convert ASP.NET site to AJAX

    03-31-2008, 10:46 PM
    • Member
      498 point Member
    • schuminator
    • Member since 02-01-2007, 5:37 AM
    • Australia
    • Posts 214

    Hey, I know there have probably been hundreds of these threads already - I've probably read most of them.
    I just can't seem to get the toolkit to work when I'm converting from an ASP.NET site I've already made.

    In VS2005 I can go File -> New -> Website -> AJAX Control Toolkit Website and everything works fine.

    When I try to use the toolkit in a site I made with only ASP.NET, I continually get the" '*extenderName* is not a known element" whether it be AutoCompleteExtender or whatever.
    I also get the Unknown server tag 'ajaxToolkit:whatever' error message.

    I think I've added the .dll correctly (I right-clicked on my project -> Add Reference -> AjaxControlToolkit.dll)
    I cut & paste the web.config file from the working AJAX Control Toolkit Website to my ASP.NET site. I've also added the items to the toolbox as per the AJAX walkthroughs but when I drag/drop them into my .aspx files I get the same error messages as above.

    I'm pretty stumped as to what to do next. The project I'm trying to convert now looks the same as the working AJAX Control Toolkit Website (same web.config file, same files in the Bin dir).
    Any assistance would be greatly appreciated as I don't want to start from scratch.

     

  • Re: Convert ASP.NET site to AJAX

    04-01-2008, 12:21 AM
    • Contributor
      3,024 point Contributor
    • hkhaled
    • Member since 08-06-2007, 11:52 AM
    • Posts 461

     Hi there,

    Copy the dll(ajaxcontrolToolkit.dll) to your bin directory, and then rebuild the website.

     thanks

     

    sharp guy
  • Re: Convert ASP.NET site to AJAX

    04-01-2008, 12:49 AM
    Answer
    • Member
      320 point Member
    • priyanka.poman
    • Member since 02-21-2008, 12:33 AM
    • India
    • Posts 63

    hi schuminator,

    you have to add the contents in web.config necessay for running asp.net very carefully.

    keep the web.config of ready applcation as it is and add the extra things necessay for toolkit do not copy paste total config .

    add reference of toolkit in bin .i think problem is in configuration file .

    -Priyanka   

Page 1 of 1 (3 items)
Microsoft Communities