Visual Studio :: Intellisense For XML Files - Web.config File And The Editor Doesn't Highlight The Closing Or Opening Tag

Feb 3, 2010

I know I've seen this in one of the video tutorials but I have no idea which one and I have reinstalled VS since then. I think it was Chris Pels that showed how to set up VS so that you had IntelliSense for XML files. The reason I ask is because I'm going through the Security tutorials series and working on the web.config file and the editor doesn't highlight the closing or opening tag when you click on one or the other like it does for HTML or C#.

Not sure if I'm explaining this clearly or not. When working with HTML or C# I can click on the opening tag for an element, say a div tag and VS will bold the type of the closing div tag. This makes it easy to be sure that I'm not messing up my tags. Well this doesn't happen with an XML document. I saw in one of the videos where the author configured the settings in VS so that IntelliSense would work in an XML document. I just don't remember the path to those settings or what changes were made.

View 2 Replies


Similar Messages:

Visual Studio :: Turn Off The Feature Where Closing Tags Are Automatically Inserted When An Opening Tag Is Typed

Aug 31, 2010

How do I turn off the feature where closing tags are automatically inserted when an opening tag is typed? I want all auto text turned off.

View 1 Replies

Visual Studio :: Intellisense Doesn't Display?

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

Visual Studio :: Intellisense Not Working For Assembly Registered In Global Web.config?

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

Visual Studio :: Why Doesn't Intellisense Work In Source View For The Mark Up

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

Visual Studio :: The Intellisense Doesn't Work At The App_Code Folder Level

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

Visual Studio 2010 - Apply Intellisense In .skin Files In 4

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

Visual Studio :: Opening CSS Files As Text Files?

Mar 25, 2010

My Visual Studio 2005 program doesn't open CSS files properly - when I open them in VS, it opens them as a text file. It is annoying because if I do something wrong, it doesn't show up the error and I have to sift through it all to try and find out what is wrong. Plus it doesn't show up the hints for the attributes.

View 5 Replies

Visual Studio :: Intellisense Can't Find The Source Files For BIN Referenced Assemblies

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

Visual Studio :: Intellisense Stops Working In Aspx Files When Identity Impersonate Is Set

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

Visual Studio :: Should Javascript Intellisense Work Inside Inline Event Handlers In Html Files

Jul 1, 2010

In VS2010, in html files, JS IntelliSense works in script tags, but not in inline event handlers (onclick="...") Is that expected behavior?

View 1 Replies

Visual Studio :: .rdl Files Open In Xml Editor Not In Report Designer?

Mar 11, 2010

i am using VS 2005 with Sql Server 2005 Business Inteligance Studio. All my reports are by default open in Xml editor, not in Report Desginer. how to change it to Report Desginer , i don't find any open with option .

View 1 Replies

AJAX :: Accordion Doesn't Work (panes Don't Changing/closing/opening)

Apr 9, 2010

The problem is accordion's showed on the page, but doesn't works. I try use code of all examples, but the problem is the same for all of them. I don't understand what to do, because the code is the same as in the tutorials. When I click on the pane it doesn't changing/closing/opening. What can it be?

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> [code]....

View 2 Replies

Visual Studio :: Intellisense In VS2008 Use Code-behind, And Though Declare ASP Elements In The Aspx File?

Nov 2, 2010

I have an intellisense problem in VS2008.I use code-behind, and though I can declare ASP elements in the aspx file, it's as if the code can't see them.The pages run OK,but when I type anAspLabel and then '.' for example, intellisense does not pop up the methods and members for this asp label.

I've tried the reset option in Options > Text Editor.Intellisense works fine if the class instance is declared in the code behind file,but it won't recognise web controls declared on the aspx page.

View 3 Replies

Visual Studio :: 4 Doesn't See Machine.config

Mar 23, 2010

I have switched over from VS2008 to VS10 (.Net4) and I program in Silverlight. But this problem isn't related to the Silverlight but more so to ASP.Net and that's why I bring it up here. My problem is if I create a SL or even a plain ASP.Net Web app, and I go to Project|ASP Configuration and click on security I get error that it can't find the database. After lots of testing, it turns out if there is no connection string with the name "LocalSqlServe" in my web.config, it does not find Machine.Config in the .Net Framework to get it's default. It also happens at runtime and not just in VS. So, my machine ASP.Net can't find machine.config file. I'm running Vista 32.

View 3 Replies

Visual Studio :: Web.debug.config Files Are Gone?

Oct 6, 2010

When I want to build my website it complains the web.debug.config file cannot be copied.I can't find this file, how can I restore it?I do have a web.config file!

View 2 Replies

Visual Studio :: 2010 Missing Web.config Files?

Aug 9, 2010

I just moved into a new computer running Windows 7 pro, and I installed a new copy of VS2010. Now all of my old sites that I made in VS2008 do not have their web.config files. Does anyone know what happens to them in VS2010, or Windows 7?

View 3 Replies

Visual Studio :: VS2010 Master Pages And JQuery Intellisense / Intellisense Only Seems To Work For JQuery

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

Visual Studio 2008 IDE Freezes/crashes When Opening .aspx File With Css Included

May 17, 2010

Visual Studio (SP1) runs fine until I try and view .aspx source files with the lines

<style type="text/css">
</stlye>

anywhere in them, upon which it freezes (i.e is totally unresponsive) and I have to use the task manager to shut it down.

I have read a lot of questions about Visual Studio 2008 crashing on viewing some source files. However, I still can't fix this problem.

I have systematically deleted and re-included all other code and it comes down to these two lines, which is very confusing. Sometimes it happens as soon as the lines are added, sometimes it doesn't freeze until I build the solution with any of the problem pages open. I can add external style sheets, and it only started recently.

I had Resharper 4.5 installed and have since uninstalled it, and do not have anything else installed.

Also, it happens to other people with the same source code, and re-installing Visual Studio does not fix the problem. So I have several questions:

Is there any way I can find out what's happening? I don't understand how the code (the css tag itself) could crash Visual Studio, and am thinking that this is unlikely and it must be something else within my solution, would this be a safe assumption? Could this have anything to do with installing Office 2010?

View 4 Replies

Visual Studio :: Create Build Configuration Dependent Web.config Files?

Dec 30, 2010

I'd like to add build configuration dependant web config files to my empty ASP.NET 4 Web site project. How can I do that? According to this blog entry, VS 2010 is supposed to provide a context menu entry on the original web.config file, Add Config Transform, allowing to add build configuration dependant web.config files to the project. But this context menu entry doesn't exist. What did I do wrong?

Steps to reproduce:

Create an empty ASP.NET 4 Web site project on localhost (IIS)

View 4 Replies

Visual Studio :: Opening Visual Studio 2008 Project In Visual Studio 2010?

May 21, 2010

Anyone know if I can maintain a VS 2008 (.net 3.5) project by using the VS 2010 IDE ?

View 1 Replies

Visual Studio :: JavaScript Intellisense For Visual Studio 2008?

May 14, 2010

I need to a powerful JavaScript Intellisense for Visual Sudio 2008.

View 1 Replies

Visual Studio :: 2010 Doesn't Create Code Behind File?

Jun 9, 2010

what's up with the new 2010 version of VWDExpress? It seems it no longer creates the VB code behind file to go along with the markup pages. Is threre a setting somewhere that I've missed? Or is code behind no longer supported?

View 2 Replies

Visual Studio :: Intellisense In 8 Development?

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

SQL Server :: Connecting To Database Via Visual Studio Web Developer From Web Config File?

Mar 31, 2011

I am trying to conect to my SQL Server 2008 instance from application in Visual studio unsuccessfully.

This how my Instance appears in SSMS

DETERMIN (SQL Server 10.0.4000 - balloonshop )

Below is an example of a connection string from the book I am following which works if you have SQLExpress on your localhost domain.

I am using SQL Server Enterprise My Server name is DETERMIN (computer) . When I am in SSMS this is how my instance node appears

DETERMIN (SQL Server 10.0.4000 - balloonshop )

Determin is the name of my computer I think its the name of my instance as well not sure, balloonshop is my login. How can I substitute the names properly for the connection string below in order to connect to my instance

[Code]....

[Code]....

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved