Visual Studio :: Intellisense Not Working For Nested Master Page?
Dec 3, 2010
I am using Visual Studio 2008 SP1
I have two master pages: TopLevelMaster and NestedMaster
When my page points to NestedMaster as it's master page, intellisense quits working in the .aspx page.
If I change my page to use TopLevelMaster as it's master page, intellisense works.
No matter what I use as the master I always get a green squiggly underline under the Content control that brings up a tooltip that says "Could not find ContentPlaceHolder1" in the current master page or pages"
TopLevelMaster exists in a different project than NestedMaster and the page.
When I say "intellisense quits working" here is what happens:
If I type something between the Content tags I get no intellisense for asp controls:
<asp:Content ID="Content1" runat="server" etc.., etc..>
Only html controls appear upon typing an open angle bracket here
</asp:Content>
If I instert a div element I can type an opening angle bracket and I see a list of all asp controls. If I choose one and start typing there is no intellisense after that:
<asp:Content ID="Content1" runat="server" etc.., etc..>
<div>
ASP controls appear but no intellisense other than asp:ControlName
</div>
</asp:Content>
Opening one or both master pages in the IDE has no effect.
I deleted Visual Sudio temp files.
View 5 Replies
Similar Messages:
Jan 6, 2010
I think my main problem is actually more to do with master pages that anything else.. Below is a description:
If you use master pages in your website and you have pages in different sub directories then the simplest way to add JQuery references is using <script src='<%# ResolveUrl ("jq.js")%> /> in the master page header??
This means that the .js files are correctly referenced in all pages that use the master. My main problem is that intellisense only seems to work for JQuery when the JQ Script is actually referenced in the header and not by using ResolveUrl('') <script src="/scripts/jq.js" />
I dont want to have to live without intellisense, Surely there is a way to get around this. What am I doing wrong.
View 1 Replies
Apr 14, 2010
As I wanted to try out the new VS, I started and began working on a C# web project that I had previously started in VS2008. So far, so good. But then I noticed that Intellisense is not working at all. I have done some searching, but all I could find were some problems with the release candidate version crashing.Does anyone have any insight as to what might be causing this and how to resolve it?
View 3 Replies
Mar 18, 2010
I thought I would try this forum first, but it may be an ASP.NET general question.
I have setup profile in a web.config like the following:
[Code]....
However when I try and reference the profile in a code behind using the "Profile.blah-balh" the intellisense does not pick up the elements I have defined in the web.config.
Intellisense is generally working and does sport the Profile() starting point when typed.
View 1 Replies
Nov 3, 2010
I made a custom server control library that all of our websites will be using. I have registered the dll in the global web.config of our production and development servers, and everything runs fine in the browser. The only problem I have is Visual Studio/Intellisense not recognizing my control. I get the error message "Unknown server tag...", which in turn throws other validation warnings. Does anyone know how to tell Visual Studio to include dll's registered in this location? Our sites are .net 4.0 and below is an excerpt from the web.config located in %SystemDrive%WindowsMicrosoft.NETFrameworkv4.0.30319Config on the servers.
<pages>
<controls>
<add assembly="[assembly info]" tagPrefix="irnrControls" namespace="IRNR.Controls"/>
</controls>
</pages>
It's not that big of a deal right now as I only have one control in the dll, but I would like to fix this before I add more controls.
Edit: I can't debug the site and it fails when I try to build it. The Output window displays "Unknown server tag".
View 2 Replies
Nov 11, 2010
I have an MVC 2.0 environment in a S#arp layout, everything works great, and I have Intellisense working in my aspx file (for things like HTML helpers and Model properties) As soon as I add the line:
[Code]....
To my web.config, I lose Intellisense on my aspx files! Does anyone have any idea of why this is happening? Or have any experience with this?
View 1 Replies
May 14, 2010
I need to a powerful JavaScript Intellisense for Visual Sudio 2008.
View 1 Replies
Nov 2, 2010
code behind - in a separate file. I've just upgraded from VS2005 to VS2008. #In an aspx file I have (for example)
[Code]....
However, in the code behind aspx.vb, when I type:Label1 then press '.'I don't get intellisense automatically pop up the members and methods. I've done the reset of the intellisense in Options > Text Editor but that didn't fix it.
View 1 Replies
Feb 17, 2010
Using VS 2010 Beta II, I am pretty sure that intellisense was working a while back when I was editing CSS files or Skins. It doesn't work now. How do I turni it back on?
View 1 Replies
Aug 22, 2010
I am using VS 2010 with MVC3 and Razor view engine but on the views when I write @... I never have intellisense. Do I need to do something?
View 3 Replies
Feb 10, 2010
I'm so new at this it's pretty pathitic. I have Visual Studio 2008 Team edition and I'm following the walkthough in the help file about how to create your first basic site.All went well until I got to that part about "Put the insertion point after asp:Label in the <asp:Label> tag, and then press SPACEBAR.
A drop-down list appears that displays the list of properties you can set for aLabel control. This feature, referred to as IntelliSense, helps you inSource view with the syntax of server controls, HTML elements, and other items on the page. The following screen shot shows the IntelliSense drop-down list for theLabel control.IntelliSense for Label control"
View 3 Replies
Feb 16, 2011
I using Visual Web Developer 2008. My IntelliSense -ToolTip at code window not clear, actually no background it transparaent. following image will give you some idea about my matter. give me solution to change this IntelliSense -ToolTip settings
View 1 Replies
Jun 3, 2010
In VWD2008, it was possible to accept an intellisense suggestion by using the space bar, which would then insert the whole intellisense answer.
However I'm finding that in VWD2010, you need to use the tab key, as the space bar will only retain however many characters you typed to get the intellisense suggestion.
View 3 Replies
Sep 28, 2010
I used to have intellisense for Javascript, including JQuery, in Visual Web Developer 2008. However in 2010 it has disappeared. I have tried resetting my settings,
View 3 Replies
Jul 7, 2010
I wonder if any of you guys could help me. When writing code occasionally I hit return to start a new line and the line is started from the far left instead of the same indentation as the line above like I would expect and when typing there is no intellisense, its happened a few times now
View 1 Replies
Jan 22, 2010
I am finding for my ASP.NET web solutions that in certain situations the XML comments (member descriptions, parameter descriptions etc) aren't appearing with the intellisense for some of my classes. These situations are as follows:
Members of user controlsMembers of classes defined in a class library project which is not part of the solution This is a problem for me because those comments can provide some really useful info. why the XML metadata wouldn't be picked up by Intellisense and what I might do about it?
View 1 Replies
Mar 22, 2011
In my company we have setup an architecture where all applications share the js scripts to avoid duplicate files and update hundred of files everytime we do an update to the javascripts functions.
The issue that I am having is when I create a reference to those scripts from website A to a function in website B, the intellisense doesn't work. Copy the javascript to website B is not an option. What I am asking if there is a way to make the intellisense work when i am working with projects in this architecture.
View 3 Replies
Nov 25, 2010
Is there a good way to apply intellisense in .skin files in ASP.NET 4? like a microsoft visual studio tool for example? I installed an intellisense schema for .skin files to my visual studio 2008 long time ago but it had some bugs so i had to remove it. any improvements in visual studio 2010?
View 1 Replies
Jan 25, 2011
When using VS2008 and C# I choose File - New - Web Site.I use namespaces in the aspx files in the same folder.The problem is that the aspx files in one folder can not access the aspx files in other folders even though the files in each of the other folders use the same namespace followed by the folder name.
In fact, if I am in one folder and type the namespaces followed by a period, the other folder names are not displayed in intellisense, only the name of the folder name of the aspx file in which it resides is displayed on the intellisense.
How can I get the other folder names to show in intellisense from any other folder that I am working in when coding in the code behind? fyi, in the html inherit I point to the namespace, the folder name and the code behind file then in the code behind file I code the namespace, the folder name the aspx file is in and the class is the name of the code behind file.
View 6 Replies
Mar 25, 2010
I've just downloaded SQL Server Management Studio 2008 after using SSMS 2005 for the past years, however the intellisense isn't working in the Query-Builder. I've checked, and Intellisense is enabled. Is there any other reason this could not be working?
View 4 Replies
Feb 26, 2010
I'm creating a app that uses a Master Page.
But when i go to Design View of the page (for creating the events automatically or for drag/drop any new control from toolbox, I don't want to type everything) the design view only shows the master page! the page controls are complete ignored!
the image: [URL]
View 2 Replies
Mar 24, 2011
Editing a web site project with master page in VS2010Ultimate with SP1 and Win7Ultimate 64 bit. Former everything was working fine - all toolbox windows were available when editing master page or aspx page. Now with the master page all toolbox relevant tab were enabled and show - when switching to a aspx page only the HTML tab is shown and enabled. When checking all "Show all" all expected tabs are disabled.
Even the <asp:> namespace is a unrecognized namespace in the aspx file.
When compiling or debugging/running everything is ok.
How can I solve this problem? I'm using Win7 Ultimate 64 Bit, VS2010 Ultimate and IExplorer 9 and the latest updates from Microsoft.
View 1 Replies
Apr 21, 2010
I'm curious why the intellisense feature isn't available in the source view for the mark up. It would be nice if while you are typing something similar to the following could happen. While setting a property such as the DataSourceID that it would bring up the possible data sources that already defined on the page.
View 1 Replies
Mar 23, 2010
When I use Project Reference to add dependent assemblies to my C# library project, I can use the "Go To Definition" popup menu item to go to the source file of the class defined in the dependent assembly. That is one of the most useful features of VS for me. However, when I add dependent assemblies as BIN References (via the Browse tab of the Add Reference dialog), I only get the class definition generated from metadata of the dependenat assembly, not the source file.
I realize that intellisense can't find the source directory of the dependent assembly, but where can I enter the directories so intellisense would know? There is a "VC++ Directories" page in the Options->Projects and Solutions dialog, but that is only for C/C++ projects. There should be one for C# as well. The bigger mystery is when I put my project in the debugger, I can step into methods defined in the dependent assembly and see its source file. Why could the debugger find the source file but not intellisense?
View 2 Replies
Feb 22, 2010
My problem is that the intellisense is not enabled within the App_Code folder, so to twick this problem I initially create a separate folder where I develop my classes then I move them to the App_Code but, but I'm convinced that this is not the right practice so how to configure visual studio 2008 to enable intellisense at the App_Code folder
View 4 Replies