intellisense on aspx pages stopped working after introducing nested master page - VS 2010
-
יום חמישי 24 פברואר 2011 18:56
Hello,
Intellisense stopped for aspx pages working after i started using nested master pages. And when i say stopped working i mean it only shows html controls.. none of the asp.net controls or 3rd party controls.
This affects pages with nested master page.
TIA
EDIT:
Also the format command does not work on aspx page.
כל התגובות
-
יום שלישי 01 מרץ 2011 03:16
Thanks for your post.
I testes the nested master page as you mention but cannot reproduce your issue.
All controls are just normal on my page.
Could you please provide a scenario for reproduce?
Also, you can try devenv /resetuserdata in VS command prompt.
Lookling forward to your reply.
Best Regards,
Ziwei Chen
Ziwei Chen [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.

-
יום שלישי 01 מרץ 2011 23:00
Thanks for the reply.
I tried the command you specified and got the following error "Unknown Error."
I probably have the same problem as these other guys.
http://www.google.com/#hl=en&&sa=X&ei=hHptTa2lII-itgeCl7HqBQ&sqi=2&ved=0CBQQvwUoAQ&q=nested+master+pages+intellisense&spell=1&bav=on.2,or.&fp=3f40f95b1b9c7c0d
Paresh
-
יום רביעי 02 מרץ 2011 03:10
Thanks for your post.
I think it is a known issue on the connect site
Our engineer of product team is working on it.
You can try the workaround mention in the link
try clearing the ReflectedSchemas folder:
%appdata%\Microsoft\VisualStudio\10.0\ReflectedSchemas\Hope my reply helps resolve your issue.
Best Regards,
Ziwei Chen
Ziwei Chen [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.

-
יום רביעי 02 מרץ 2011 15:47
Thanks for reply Victor..
I tried out clearing the folder and it not help.
I dont have a problem with master pages. Intellisense works fine with master pages. It's only when i use nested master pages, i lose Intellisense..
-
יום שישי 04 מאי 2012 08:34
This problem still exists in Visual Studio 2010 SP1.
In my case when I have a nested master page, and add my user control inside the content area of content page intellisense stops working there.
If I add the same code to the top level master page intellisense works at both comments.
<asp:Content ContentPlaceHolderID="Content" runat="server">
<%-- intellisense works here no matter what --%>
<mylibprefix:Navigator runat="server" ID="Navigator" Text="Error log">
<%-- intellisense doesn't work here if this control is in a nested master page --%>
</mylibprefix:Navigator>