473,387 Members | 1,374 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Intellisense for custom controls.

Hi,

I am thinking about creating some custom server controls
in Visual Studio .NET 2003 using VB.NET. One thing I am
wondering about is how I can get the control to show up in
the IDE....for example right now when I hit '<' i get a
list of controls like <asp:(somecontrols)>. I was
wondering if there is a way so that when i hit '<' I will
also get a list like <mycompany:(mycustomcontrols)>. Any
pointers or documentation would be great.

Thanks in advance,

Nick
Jul 21 '05 #1
2 2560
You can definitely get things to appear in intellisense. Public properties
show up, and you can use attributes to give the user feedback, (Description
and Category). if the property is indexable, then the Items tab will show
up automatically. Once you create the control and add it to your toolbox,
or reference it (if you don't want to use a designer), intellisense should
kick in.
"Nick Kafenzakis" <Ni*****************@ocipep.gc.ca> wrote in message
news:09****************************@phx.gbl...
Hi,

I am thinking about creating some custom server controls
in Visual Studio .NET 2003 using VB.NET. One thing I am
wondering about is how I can get the control to show up in
the IDE....for example right now when I hit '<' i get a
list of controls like <asp:(somecontrols)>. I was
wondering if there is a way so that when i hit '<' I will
also get a list like <mycompany:(mycustomcontrols)>. Any
pointers or documentation would be great.

Thanks in advance,

Nick

Jul 21 '05 #2
Thanks for your reply but when i compiled my control and
added a reference to it and added it to the toolbox I
still couldn't get intellisense to display it as a
control. I may not have been clear in the last post but
i'm talking about intellisense in the HTML part of the
designer not in the actual VB code (this seems to work
fine). I have the public property. One question I have
is that if I add a reference to it do I still need the
"<%@ Register" tag?

thanks again.

Nick

-----Original Message-----
You can definitely get things to appear in intellisense. Public propertiesshow up, and you can use attributes to give the user feedback, (Descriptionand Category). if the property is indexable, then the Items tab will showup automatically. Once you create the control and add it to your toolbox,or reference it (if you don't want to use a designer), intellisense shouldkick in.
"Nick Kafenzakis" <Ni*****************@ocipep.gc.ca> wrote in messagenews:09****************************@phx.gbl...
Hi,

I am thinking about creating some custom server controls
in Visual Studio .NET 2003 using VB.NET. One thing I am
wondering about is how I can get the control to show up in the IDE....for example right now when I hit '<' i get a
list of controls like <asp:(somecontrols)>. I was
wondering if there is a way so that when i hit '<' I will also get a list like <mycompany:(mycustomcontrols)>. Any pointers or documentation would be great.

Thanks in advance,

Nick

.

Jul 21 '05 #3

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

Similar topics

0
by: James Bright | last post by:
I have set up custom Intellisense for our project. (In a nutshell, we will have ASP.NET controls based on many of the statndard WebControls, but with a few extensions that we will be adding). I've...
2
by: Rick Strahl [MVP] | last post by:
I seem to have problems when working with large Windows Forms files. What happens is that hte editor looses its syntax color highlighting and Intellisense capability on large files. The code works...
1
by: Axel Dahmen | last post by:
Hi, I've created several Web User Controls and Web Custom Controls. None of them are available in the Toolbox or provide IntelliSense. Can someone please point me to some article explaining what...
0
by: William Parker | last post by:
I built a custom web control and have registered it correctly within my ..aspx page. The control is working fine at run time as well. However when I type "<" character I do not see my control...
2
by: Nick Kafenzakis | last post by:
Hi, I am thinking about creating some custom server controls in Visual Studio .NET 2003 using VB.NET. One thing I am wondering about is how I can get the control to show up in the IDE....for...
2
by: Natan Vivo | last post by:
Can anyone tell me what exactly what makes intellisense works for custom controls in aspx pages in VS 2005? I just installed Atlas in my office computer, created a new atlas project and it...
1
by: RLN | last post by:
Re: Access 2003 I found a method here in the newsgroup that works for clearing checkboxes, but don't understand a particular line of code and how it works. Here is the code: 1. Dim ctrl As...
7
by: Andrew Robinson | last post by:
I have an overridden control: public class DJGridView : GridView { } All works great except that I loose IntelliSense for all of the child elements while editing the HTML file from within...
4
by: Clive Dixon | last post by:
I have a project as part of a solution which contains a very large number of autogenerated class files. When compiling the solution and the autogenerated files have changed, visual studio takes an...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...

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.