473,396 Members | 1,734 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,396 software developers and data experts.

Property Browser not displaying my Description attribute

I have added Description attributes to several of my Control's Properties,
but they are not appearing in the Property Browser. Here is the declaration
of my Property:

<System.ComponentModel.Description("ID of the control that determines
whether validation will occur")_
Public Property ConditionControlID() As String
Get
Return Me.conditionid
End Get
Set(ByVal value As String)
Me.conditionid = value
End Set
End Property

I have recompiled the Control, closed all the files, and even closed Visual
Studio 2005, but the description still does not appear in the Property
Browser. The Description area in the Property Browser is visible, and it has
the property name, but it does not show the description. What am I
forgetting and/or doing wrong? Thanks.
--
Nathan Sokalski
nj********@hotmail.com
http://www.nathansokalski.com/
Oct 29 '07 #1
1 1735
On Oct 29, 10:37 am, "Nathan Sokalski" <njsokal...@hotmail.comwrote:
I have added Description attributes to several of my Control's Properties,
but they are not appearing in the Property Browser. Here is the declaration
of my Property:

<System.ComponentModel.Description("ID of the control that determines
whether validation will occur")_
Public Property ConditionControlID() As String
Get
Return Me.conditionid
End Get
Set(ByVal value As String)
Me.conditionid = value
End Set
End Property

I have recompiled the Control, closed all the files, and even closed Visual
Studio 2005, but the description still does not appear in the Property
Browser. The Description area in the Property Browser is visible, and it has
the property name, but it does not show the description. What am I
forgetting and/or doing wrong? Thanks.
--
Nathan Sokalski
njsokal...@hotmail.comhttp://www.nathansokalski.com/
Nathan...

I don't see anything obviously wrong here. I just did a quick test,
and I can't recreate the issue here using VS2005. If I were you, I
would scale this down to the smallest possible control that exhibits
this behavior. Basically comment out all properties/methods etc. that
aren't necessary for this particular property. Then, see if the
problem still exits. Just a thought - are you accessing any
datasources in the constructor?

--
Tom Shelton

Oct 30 '07 #2

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

Similar topics

1
by: Karuppasamy | last post by:
Hi All I am using property grid to change the values of an Object. for a particular property of the object, the user has to select the value from some other Form. So i want to display one...
5
by: David N | last post by:
All, I created a control that have the following property defined: private bool autoSearch My control is compiled and created fine. But, after adding the control to my form, I noticed...
1
by: Steven.Xu | last post by:
Hi, everyone. I am writting an user control. There has some properties on it. At the design time, the properties will disply on the property windows and user could change it's value after selected...
2
by: Steve Teeples | last post by:
Someone introduced me to PropertyGrid last night. It is a great feature for what I need. A question though. I noticed that when I assign a "TextBox" control to a property grid the description on...
0
by: Brian Young | last post by:
Hi all. I'm using the Property Grid control in a control to manage a windows service we have developed here. The windows service runs a set of other jobs that need to be managed. The control...
0
by: Jordan Bowness | last post by:
I make a similar post in another newsgroup, but this example is simplified somewhat. I have a component (cmpMyComponent) with 2 properties. The 1st property is a string value (Description) and...
7
by: Andrea Moro | last post by:
I'm writing my first windows control library. A simple textbox with some numeric facilities. Well, there is a strange thing that happen. I want to add a locked property. As many other property,...
3
by: tanya foster | last post by:
Hello, I am re-writing a visual basic .net application(visual studio 2003) in an asp.net application(visual studio 2005). The vb.net application relied on a treeview and hence, treenodes. The...
5
by: Kimmo Laine | last post by:
Hi is there a way to change propertys attribute from the code? Let´s say that i have the following property in my class: public int Count } Is there a way to change the displayname, from...
1
by: Nathan Sokalski | last post by:
I have added Description attributes to several of my Control's Properties, but they are not appearing in the Property Browser. Here is the declaration of my Property: ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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
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,...
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
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.