473,657 Members | 2,652 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

No intellisense

Hi,

I am using c#. i have my server code within script tags on my aspx page i am
not using code behind. Do you not get intellisense when working like this? it
would speed up my work considerably but nothings happening. I may have a
setting turned off but dont know where to look (have tried options, text
editor but cant find anything).

Also, I am a little confused about the concepts of projects and solutions. I
am working on some files, we already have a web config, bin folder etc
everything set up so i have to work on seperate pages unit by unit. i tried
creating a project and bringing in all the existing stuff and it created lots
of things i didnt want and wouldnt work, class files, code behind pages, and
it affected my global.asax page. i cant debug as a result and i think i am
working very slowly (no intellisense, no debug). How does one set themselves
up a project with files that already exist? basically i dont understand what
a 'solution' is either, and the point of them. Sorry i think maybe i need
basic training on VS.NET, maybe i'm asking too much for this forum in which
case would just appreciate answer to the above (any pointers towards a visual
studio for dummies help file would be appreciated). Thanks.
Nov 18 '05 #1
2 2632
No, you don't get intellisense while working with inline code. the next
version of VS.Net (Visual Web Developer) will have this support however.

A solution is simply a container of multiple projects. Projects are
containers for all your code/aspx/whatever. Solutions let you have multiple
projects and easily make one project reference another from the same
solution. VS.Net uses the code-behind model - which you aren't/don't want
to use - this likely explains [some] of the problems you are having (since
you are using inline code). You might want to consider switching to
codebehind to fully utilize VS.Net (projects/intellisense... )

Hope this help,
Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/
"louise raisbeck" <lo************ @discussions.mi crosoft.com> wrote in
message news:3F******** *************** ***********@mic rosoft.com...
Hi,

I am using c#. i have my server code within script tags on my aspx page i am not using code behind. Do you not get intellisense when working like this? it would speed up my work considerably but nothings happening. I may have a
setting turned off but dont know where to look (have tried options, text
editor but cant find anything).

Also, I am a little confused about the concepts of projects and solutions. I am working on some files, we already have a web config, bin folder etc
everything set up so i have to work on seperate pages unit by unit. i tried creating a project and bringing in all the existing stuff and it created lots of things i didnt want and wouldnt work, class files, code behind pages, and it affected my global.asax page. i cant debug as a result and i think i am
working very slowly (no intellisense, no debug). How does one set themselves up a project with files that already exist? basically i dont understand what a 'solution' is either, and the point of them. Sorry i think maybe i need
basic training on VS.NET, maybe i'm asking too much for this forum in which case would just appreciate answer to the above (any pointers towards a visual studio for dummies help file would be appreciated). Thanks.

Nov 18 '05 #2
thank you. well since i sent this post i have tried copying stuff over to a
new solution, taking the dlls and putting them into a new bin folder etc and
so far so good..so now trying to use codebehind. i am now trying to create a
code behind page but when i do view code nothing happens. i think this must
be because i have only got <%Page%> at the top, no codebehind=.. what is the
syntax for c#? (i'm assuming not filename.aspx.v b) is it filename.aspx.c s?

"Karl Seguin" wrote:
No, you don't get intellisense while working with inline code. the next
version of VS.Net (Visual Web Developer) will have this support however.

A solution is simply a container of multiple projects. Projects are
containers for all your code/aspx/whatever. Solutions let you have multiple
projects and easily make one project reference another from the same
solution. VS.Net uses the code-behind model - which you aren't/don't want
to use - this likely explains [some] of the problems you are having (since
you are using inline code). You might want to consider switching to
codebehind to fully utilize VS.Net (projects/intellisense... )

Hope this help,
Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/
"louise raisbeck" <lo************ @discussions.mi crosoft.com> wrote in
message news:3F******** *************** ***********@mic rosoft.com...
Hi,

I am using c#. i have my server code within script tags on my aspx page i

am
not using code behind. Do you not get intellisense when working like this?

it
would speed up my work considerably but nothings happening. I may have a
setting turned off but dont know where to look (have tried options, text
editor but cant find anything).

Also, I am a little confused about the concepts of projects and solutions.

I
am working on some files, we already have a web config, bin folder etc
everything set up so i have to work on seperate pages unit by unit. i

tried
creating a project and bringing in all the existing stuff and it created

lots
of things i didnt want and wouldnt work, class files, code behind pages,

and
it affected my global.asax page. i cant debug as a result and i think i am
working very slowly (no intellisense, no debug). How does one set

themselves
up a project with files that already exist? basically i dont understand

what
a 'solution' is either, and the point of them. Sorry i think maybe i need
basic training on VS.NET, maybe i'm asking too much for this forum in

which
case would just appreciate answer to the above (any pointers towards a

visual
studio for dummies help file would be appreciated). Thanks.


Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
2398
by: andrew.queisser | last post by:
Yesterday I typed in some C++ code that called a function with two ints. Intellisense (auto-complete) helpfully told me that the first formal parameter was called "frontLight" and the second "ringLight". It occurred to me that I'm getting some semantic help here on top of the obvious type safety. It seems to me that the existance of this kind of support is tied to the static typing nature of C++. I've always been interested in the...
6
8092
by: Stefan Kronberg | last post by:
I'm working on a solution containing about 20 projects. Some of the projects contain class definitions that are used in other of the projects. Most of the time intellisense is working ok, i.e. if I work with objects declared from my own classes intellisense will show me all alternatives (methods and properties from my classes and from the classes they are derived from). But sometimes I will get nothing from intellisense, completely nothing,...
1
2201
by: Christopher W. Douglas | last post by:
I'm working in VB.Net, using Visual Studio 2003. I have a project, let's call it Foo, that contains common methods, forms, and objects I use in other projects. It compiles as Foo.dll, which I then reference from the project that needs it. Let's say I have a method, Bar, that I want to access from another project. If I add a public module Methods to Foo, and add a public method Bar to Methods, I can call it from my other project a...
0
1326
by: Jim | last post by:
I had a strange problem the other day when using Intellisense, and wondering if anyone has any experience with or advice on this... Just to give some quick background, I have a multi-tier application, with business objects coded in a business layer (C# project), the service interfaces and service objects coded in two C# projects, respectively. In my service objects project, I go to call on one of the
1
1890
by: Yaron | last post by:
Hi, I have a custom ListView-type control that I designed a few months ago. The control is completely stable and functional. However, often, the Visual Studio .NET IDE's Intellisense will lose and not display members not contained inside of Control (which my control is inherited from). Despite this, program execution still works fine; Intellisense just stops displaying these members, is all. If I close down Visual Studio and open it again,...
9
2677
by: Ulf Lindback | last post by:
Hi! We have an application surveillance product with a number of API's for different languages; one of them is a C API. Now I wonder how we can supply intellisense to our Visual Studio.Net (native C/C++) users (preferably both VS 7.0 and 7.1). I would like to have something like the parameter info you get for e.g. printf when you enter the opening parenthesis, printf(
3
1526
by: AJ | last post by:
I am using Microsoft Visual C++ .NET in Visual Studio 2003. Why there is no intellisense in MC++? Any workarounds?
12
4829
by: Peteroid | last post by:
I was creating my application just fine for the last 3 weeks or so. Then, starting this morning, IntelliSense seems to be having problems. It goes into a locked 'Updating IntelliSense..." mode. When this happens its time to close VS C++.NET, which can only be done via the Windows Task Manager. I tried repairing C++. It did seem to help, but the problem is back a few hours later. I will try creating a new project, copy over source files,...
5
3238
by: wal | last post by:
Hello, I'm using __declspec(property) to access get/set methods as properties (like in C# and VB.NET). Now, the problem is that both the property name and the get/set methods show in the intellisense list. Is there anyway to remove the names of the get/set methods from the intellisense list? Here's an example, I have two methods, one is a get method with the name getText and another set method with the name setText, the name of the...
3
340
by: Travis | last post by:
Hi, I was a user of Visual C# for a while and have gotten used to the Intellisense for that program. I went to try Visual Basic, and the intellisense is so much different. I'll try to make an example: Say I want to write: MessageBox.Show("Hi there") In C#, once I type just a single "M," everything (objects, classes, everything) that begins with M will appear in the intellisense list. Once you get to "Mes" MessageBox will be selected...
0
8392
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8732
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8503
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6163
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5632
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4151
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4302
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1953
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1611
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.