It's the Master Page. Try opening up the Master Page file that the page you are not getting any Intellisense is using. Keep it open and then switch back to the tab for the page that you are getting the errors and no Intellisense. I bet that if you refresh the
page you will no longer see the red squiggly lines and Intellisense will be back. It's definitely a bug but at least you can work around it by doing what I just suggested.
No combination of master page and default.aspx page (open, closed, position on the tab bar, etc) would get rid of the horrid squigglies and the lack of intellisense. But changing the tagprefix to "ajax" worked like a charm.
This is a problem of VS2005. They say it is fixed in VS2005 SP1. And Yes it is fixed in VS2005 SP1. Did you install the service pack yet? If no Scott Gu of ASP.NET team has provided another temp solution. you may try it. its entry is called Lost HTML Intellisense
within ASP.NET AJAX Controls
i have the same problem and im not using the sp1 of vs2005 but when we remove the updatepanel all intelissense and bug erros just disapears
this errors are just bugs they dont make ur aplication to stop work they just confuse u when something else isnt working u just need to find what isnt working and fix it then ur aplication will build and will run just fine and for me if u delete the updatepanel
everything just go back to normal and when u finish the page u just need to add the updatepanel again
I am getting these same errors plus the compiler is coughing up on this line from my web.config. (I too am using Master Pages, but none of the solutions about opening up pages in a certain order and refrreeshing them work for me....and I cannot run at all,
I am stuck!)
Also when I added the Ajax controls to the IDE I must have done something different (I don't think its wrong) because in the source code the prefix is CC1 not ajaxToolkit, and I know it works because if I open a totally new website project and create Ajax
application it works fine, but it will not work on this exisiting website that I am trying to retro fit to be Ajax enabled.
I also do not understand where in the web.config that I am supposed to change a prefix from ASP to AJAX...do you mean here?
I had the same problem. The Script Manager was not recognized by visual studio by removing the Script Manager
and add it again to the page and it fixed it. if you have the same problem with update panel you can do the same.I know it is not a best solution but at least you don’t get those annoying
red errors.
asifcs
Member
132 Points
33 Posts
Re: no IntelliSense & "Not a known element" error everywhere
Nov 08, 2006 05:00 AM|LINK
Yap chadly,
I am also working on VS2005 SP1 Beta1. And I am not getting Itellisence support on markup pages! Should I try uninstalling SP1 beta??? May be I will.
aschreiber2
Member
161 Points
35 Posts
Re: no IntelliSense & "Not a known element" error everywhere
Nov 08, 2006 05:11 PM|LINK
Jason Hill
Contributor
2019 Points
497 Posts
Re: no IntelliSense & "Not a known element" error everywhere
Nov 09, 2006 07:16 PM|LINK
conquer0
Member
139 Points
33 Posts
Re: no IntelliSense & "Not a known element" error everywhere
Nov 09, 2006 11:01 PM|LINK
I think this a Visual Studio Bug.
I am using Ajax Beta2 and Visual Studio without SP1 Beta1, but I think SP1 Beta1 has the same Problem!
baileyrt
Member
4 Points
2 Posts
Re: no IntelliSense & "Not a known element" error everywhere
Jan 15, 2007 07:14 PM|LINK
Kudos to you, Eric.
No combination of master page and default.aspx page (open, closed, position on the tab bar, etc) would get rid of the horrid squigglies and the lack of intellisense. But changing the tagprefix to "ajax" worked like a charm.
Thanks!
element ajax update panel ajax rc1 AJAX .NET RC1
asifcs
Member
132 Points
33 Posts
Re: no IntelliSense & "Not a known element" error everywhere
Jan 16, 2007 05:01 AM|LINK
This is a problem of VS2005. They say it is fixed in VS2005 SP1. And Yes it is fixed in VS2005 SP1. Did you install the service pack yet? If no Scott Gu of ASP.NET team has provided another temp solution. you may try it. its entry is called Lost HTML Intellisense within ASP.NET AJAX Controls
http://weblogs.asp.net/scottgu/archive/2006/11/16/gotcha-lost-html-intellisense-within-asp-net-ajax-controls.aspx
--- If This post answers your Question/problem then mark it as answer!
Balzak
Member
12 Points
3 Posts
Re: no IntelliSense & "Not a known element" error everywhere
Jan 16, 2007 11:06 AM|LINK
i have the same problem and im not using the sp1 of vs2005 but when we remove the updatepanel all intelissense and bug erros just disapears
this errors are just bugs they dont make ur aplication to stop work they just confuse u when something else isnt working u just need to find what isnt working and fix it then ur aplication will build and will run just fine and for me if u delete the updatepanel everything just go back to normal and when u finish the page u just need to add the updatepanel again
ashen419
Member
2 Points
1 Post
Re: no IntelliSense & "Not a known element" error everywhere
Feb 08, 2007 01:51 PM|LINK
CiscoCylk
Member
166 Points
118 Posts
Re: no IntelliSense & "Not a known element" error everywhere
Jun 18, 2007 08:41 PM|LINK
I am getting these same errors plus the compiler is coughing up on this line from my web.config. (I too am using Master Pages, but none of the solutions about opening up pages in a certain order and refrreeshing them work for me....and I cannot run at all, I am stuck!)
Error 1 Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. \\ecad-cs1\Subscriber_Security\WebSites\MasterECADDSS\pgDesignRequest.aspx 344
Also when I added the Ajax controls to the IDE I must have done something different (I don't think its wrong) because in the source code the prefix is CC1 not ajaxToolkit, and I know it works because if I open a totally new website project and create Ajax application it works fine, but it will not work on this exisiting website that I am trying to retro fit to be Ajax enabled.
I also do not understand where in the web.config that I am supposed to change a prefix from ASP to AJAX...do you mean here?
<pages><
controls> <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/></
controls></
pages>Notice how this is the line that the compiler is failing on as well.
m_karbala
Member
229 Points
129 Posts
Re: no IntelliSense & "Not a known element" error everywhere
Jun 28, 2007 09:28 PM|LINK
Maysam