HighTechTalks DotNet Forums  

Property Browser not displaying my Description attribute

ASP.net Building Controls microsoft.public.dotnet.framework.aspnet.buildingcontrols


Discuss Property Browser not displaying my Description attribute in the ASP.net Building Controls forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Nathan Sokalski
 
Posts: n/a

Default Property Browser not displaying my Description attribute - 10-29-2007 , 12:37 PM






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
njsokalski (AT) hotmail (DOT) com
http://www.nathansokalski.com/



Reply With Quote
  #2  
Old   
Tom Shelton
 
Posts: n/a

Default Re: Property Browser not displaying my Description attribute - 10-29-2007 , 09:13 PM






On Oct 29, 10:37 am, "Nathan Sokalski" <njsokal... (AT) hotmail (DOT) com> wrote:
Quote:
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... (AT) hotmail (DOT) 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



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.