visual studio - How to fix the HTML Intellisense in ASP.NET AJAX Controls or Pages -
I'm using asp.net ajax. I am creating an .aspx page that is based on an .master file is. I add control to the content page, and suddenly these markup intelligence does not work for these controls, or for any control nested within them.
Is this a bug? Can i fix it
The decision to issue intellisense will be in VS 2005 SP1.
In the meantime there are two functions that you can use to fix this immediately:
1) Open within the Visual Studio IDE while working on the .aspx content page. master file. It turns out that the intellisense engine only runs into problems if the .master file is closed until it opens within the same IDE, it fixes the assemblies and provides you full recognition
2) Go to your web.config file and rename the tag alias for ASP. Net controls AJAX controls except for someone, instead of:
& lt; Control & gt; & Lt; Add tagPrefix = "asp" namespace = "Microsoft.Web.UI" assembly = "Microsoft.Web.Extensions" /> & Lt; Add tagPrefix = "asp" namespace = "Microsoft.Web.UI.Controls" assembly = "Microsoft.Web.Extensions" /> & Lt; / Control & gt;
Change them to do something like this:
& lt; Control & gt; & Lt; Add tagFix = "AJAX" namespace = "Microsoft.Web.UI" assembly = "Microsoft.Web.Extensions" /> & Lt; Add Tagfix = "Ajax" namespace = "Microsoft.Web.UI.Controls" assembly = "Microsoft.Web.Extensions" />
Then you want to update your tag prefix to use this new tag prefix in this .2x page.
Solving any of these approaches and providing full recognition. Then this problem should be resolved completely with VS 2005 SP1.
Comments
Post a Comment