I'm just getting started with C++ and I'm having a little trouble with intellisense.
I've created an empty project and added a few variables to the only existing cpp file that I created.When I'm slowly typing out the name of the variable I expected it to show up like in visual basic .NET but it doesn't seem to be.something wrong, or is there a setting somewhere I need to adjust
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?
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.
"Error updating JScript Intellisense, see Error List."
Current installations:
Windows 7 Visual Studio 2008 sp1 with VSDOC hotfix MVC RC2
After doing a fresh install on everything, and starting a new MVC2 project and immediately dragging over jquery-1.4.1.min.js, I get the error.This error also occured on a different similar installation.owever, jquery 1.3.2 works just fine.
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:
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 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.
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?
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?
I have an external *.js file that contains Javascript. How do I get teh same intellisense and color highlighting as I do in an ASPX page?
Here's my options for the js extension (set to 'Script Editor')
And here's what it looks like in an ASPX page (How I would like it to look.)
BTW, I did a full reset my Settings, setting them to VB and no luck.
Update to original post:
Cuban suggested I add a reference to the file "jquery-1.3.2.min.js." When I searched my PC for that file using the fastest bestest Search app ever written, it found it it .003 nano seconds in the following locations:
Basically, the file magically appeared in a couple of my throw away VS2010 test web apps and in a VS2008 Common folder. I don't know why it was added or how I got it and why it doesn't appear under the 2010 web app that I am currently working on.
How would I modify the following statement from Cuban? Do I need to set a reference something first? And what's with the triple slash? I haven't seen this convention before.
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.
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.
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.
If Not IsDBNull(ext) Then ext = LCase(ext) End If Select Case ext 'Case ".htm", ".html" ' type = "text/HTML" 'Case ".txt" ' type = "text/plain" 'Case ".doc", ".rtf" ' type = "Application/msword" 'Case ".csv", ".xls" ' type = "Application/x-msexcel"........................
Until the Dec 29th my website was working fine. Then My fileupload problems started happening. My fileupload page would simply quit and say the page can not be found. I maximized all my timeout settings and that did not work. I called my hosting company and apparently they have no problem using my page to upload files from their geographical area. So then I concluded it might be a network problem. I ran a trace route and could not really figure out where the problem was. So, I have no idea what is going on. Is it possible that my site is being blocked by some black list out there somewhere?
I'm trying to use below simple code for ajax postback. With file upload, neither javascript the "function startRequest" ever triggers, the file control shows null value somemore.Earlier I had Update progress which didn't work with file upload ever so I removed it. Now I just want to disable the button as the file is uploaded and its inputs are processed in the background. Once the response comes back, the "submit" button is re-enabled.But the file-upload with Updatepanel doesn't work at all. What am I doing wrong,
I've added a database to one of my projects and I'm wondering how I can get intellisense for them.
Basically I have no how I can query the database that I've added to the project. I know SQL fairly well, but I don't know how I can write queries within vb.net and have them display.
I can get, so intellisense will probably be invaluable.
I'm working in Asp.net and IntelliSense isn't finding the methods in app code. It executes the code well without any issue at run time, but I'm not able to see the method names while coding. Any idea how to fix this?
I know this is asking alot...and as far as I know there is no way to do this..but I still tought that I whould ask you guys if you might some how figured this one out. The thing is that I have a database-table that contains information about different user-roles...and I whould like to retrive each roles-name in an enum..and as the data changes in teh table I whould like the enum to change aswell...and I also whould like it to be possible to actually get intellisense once trying to access the enum..
I have looked at the following link and sulotion:[URL] The problem with that as far as I have understod, is that I dont get the intellisense and the code kind of gets even harder to understand...since the whole point with enums is to make the code easy to understand..atleast as far as I know.
I added a textarea control to my page. Try to reference it in codebehind and it doesn't show in the intellisense. All other controls are though. I noticed that it also doesn't appear in the 'designer.cs' page.
I have this strange error coming up in VS2008, where is says a variable in not declared in HTML view, when it clearly is declared in the codebehind:Can anyone help with why this might be happening? I've tried all sorts of things, even recreating the page from scratch, but this keeps coming up.
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <%@ Reference Control = "CHEADER.ascx" Page="~/Default.aspx" %> <%@ Reference Control = "CLEFT_NAVIGATION.ascx" %> <%@ Reference Control = "CCOPYRIGHT.ascx" %> <%@ Reference Control = "CBOTTOM_NAVIGATION.ascx" %> <%@ Reference Control = "CPAGE0001.ascx" %> <%@ Reference Control = "CPAGE0002.ascx" %> <%@ Reference Control = "CPAGE0003.ascx" %> [code]... none of the usercontrols appear thats is if i replace "WebUserControl1" by name CHEADER it says CHEADER? what is that!!asp.net c# vsts2008
I can create controls on the front end, but my code behind will not display intellisense for these controls. If I write the code anyways, compiling will generate errors (like btnLoad does not exist) but will execute anyway. This occurs across my entire project, and this hasn't been a problem in the past for this project (although I've seen this problem before and have decided to spend time to figure it out).
I've tried deleting my temporary asp.net files, recompiling the schema, and triple checked my Inherits attribute.
Javascript Initellisense keeps giving me errors in VS 2008 SP1. Whenever this happens, VS becomes unresponsive to the point where I can't get anything done. I would like to disable Javascript Intellisense temporarily to see if this is the issue. How do I do this?
In my DBML, I added three tables with relationshiped established. However, when I do "myDataContext.", I do not see the fields of my other table showing up as being available in the intellisense. Any suggestion? Did I do it wrong? I want to update multiple table at the same time.