471,092 Members | 1,357 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,092 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 2395
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by James Bright | last post: by
reply views Thread by William Parker | last post: by
2 posts views Thread by Nick Kafenzakis | last post: by
2 posts views Thread by Natan Vivo | last post: by
7 posts views Thread by Andrew Robinson | last post: by
4 posts views Thread by Clive Dixon | last post: by

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.