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:(somecontr ols)>. I was
wondering if there is a way so that when i hit '<' I will
also get a list like <mycompany:(myc ustomcontrols)> . Any
pointers or documentation would be great.
Thanks in advance,
Nick 2 2594
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:(somecontr ols)>. I was wondering if there is a way so that when i hit '<' I will also get a list like <mycompany:(myc ustomcontrols)> . Any pointers or documentation would be great.
Thanks in advance,
Nick
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:(somecontr ols)>. I was wondering if there is a way so that when i hit '<' I
will also get a list like <mycompany:(myc ustomcontrols)> .
Any pointers or documentation would be great.
Thanks in advance,
Nick
. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 put a custom XSD in the
schemas\xml directory and it works pretty great. It's largely based on the
asp.xsd.
My problem is that while this works great for most controls, providing
Intellisense whenever I have:
<foo:FooTextBox runat=server......
|
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 - it compiles and
runs fine, but the syntax color highlighting goes away. All formatting blows
up too and the editor no longer helps with indentations.
Needless to say this is frustrating.
If I recompile then color returns but as soon as I...
|
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 to do to get IntelliSense on my
controls?
I've already posted this before, and someone kindly provided me with the
IntelliSenseGenerator from GotDotNet. Unfortunately, this was of no help to
me because for one, it doesn't work correctly on my...
|
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 popup in the list
of possible controls. I see lots of "<ASP:" and other tags. Why is this?
Is it possible to add the intellisense control?
I know that class libraries cannot use intellisense from the .aspx page in
VS.NET, but I thought that...
|
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 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...
| |
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 doesn't show any code completion dialog when I type
"<atlas:". At home I have exactly the same version of VS 2005, and it
works perfectly.
I even had to format and reinstall everything here, but it still doesn't
work.
|
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 Control
2. For Each ctrl In Me.Controls
3. 'uncheck all of the checkboxes...
|
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 VS2005. Any suggestions on
what I could include within my control to enable this functionality?
Thanks,
|
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 age to recreate intellisense
information for the autogenerated classes. Is there any way whatsoever that
I can turn off intellisense generation on a per-project or per-class manner?
I had hoped that would stop
the generation of intellisense info...
|
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...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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...
|
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...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |