ASP.NET Ajax and VisualStudio2005

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    ASP.NET Ajax and VisualStudio2005

    Hi there,

    I've recently been experimenting with ASP.NET Ajax.
    I'm able to create an Ajax Enabled website however Visual Studio doesn't seem to recognize the Asp.NET Ajax components...

    When I'm viewing the web page in HTML format it doesn't even recognize the <asp:ScriptMana ger>.

    What's really getting to me is that it doesn't recognize the <asp:UpdatePane l> nor the <contenttemplat e>...and everything within these tags, even though they are regular components (like text boxes and panels), shows up as errors.

    Right now I can't switch back to design view because there is a minor table tag out of place or something but can't find the error because there are so many error-swigglies underlining everything.

    The site is works very well....and despite the fact that all these errors are listed, Visual Studio still compiles and runs the site. (well not right now because I have to find that error that's stopping me from switching views...but normally it does)

    Is there a way to make Visual Studio recognize the ASP.NET Ajax components?

    Thanks

    -Frinny
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    This is not a Javascript/AJAX problem. I'll move this to the .NET forum where you might get more help.

    Comment

    • kenobewan
      Recognized Expert Specialist
      • Dec 2006
      • 4871

      #3
      Unfortunately, I don't believe so unless you can find a 3rd party plug inMicrosoft to Add AJAX Capabilities to ASP.NET

      Comment

      • chazcross
        New Member
        • Feb 2007
        • 31

        #4
        3 questions

        Do you have vs2005 SP1 installed?
        Is this version 1.0 of ASP.NET AJAX or an earlier release?
        In the tool box do you have a section for the AJAX extensions?

        Comment

        • chazcross
          New Member
          • Feb 2007
          • 31

          #5
          Tried to edit my post but i couldnt.

          If you have the right versions installed and nothing in the toolbox, right click the toolbox and select "reset toolbox" the extensions should appear.

          Then open your page, delete the scriptmanager and drag one from the toolbox to the page.

          Comment

          • Frinavale
            Recognized Expert Expert
            • Oct 2006
            • 9749

            #6
            Originally posted by chazcross
            3 questions

            Do you have vs2005 SP1 installed?
            Is this version 1.0 of ASP.NET AJAX or an earlier release?
            In the tool box do you have a section for the AJAX extensions?

            Actually I don't have VS2005 SP1 installed.
            That could be the problem. I am having some major issues downloading the service pack and have almost given up on the venture....it simply will not download.

            I have the Ajax extensions in the toolbar. Everything is working fine unless I view my web page as "html".

            I guess I could try a bit harder to get SP1.

            Thanks a lot for your help!

            -Frinny

            Comment

            • Frinavale
              Recognized Expert Expert
              • Oct 2006
              • 9749

              #7
              Originally posted by chazcross
              Tried to edit my post but i couldnt.

              If you have the right versions installed and nothing in the toolbox, right click the toolbox and select "reset toolbox" the extensions should appear.

              Then open your page, delete the scriptmanager and drag one from the toolbox to the page.

              Thank you for your help Chazcross.

              After installing Service Pack 1 for Visual Studio everything works fine!

              :)

              -Frinny

              Comment

              • tomonthebay
                New Member
                • Dec 2006
                • 5

                #8
                OK, I followed instrauctions and installed the Ajax toolkit, great!! all tools were there as expected.

                However!!!

                Now when I go back to my previous website project the regular toobx items are gone, all that shows is the empty general... whoops!

                Tried to reset and nothing happens, even though it goes off thinking about and then returns. Still nothing.

                If I create a new website, non ajax it creates a new one with all normal defualt tools.

                What is up with that?

                T

                Comment

                • tomonthebay
                  New Member
                  • Dec 2006
                  • 5

                  #9
                  reset now works...thanks for at least the venting

                  Comment

                  Working...