UserControl properties not browsable in properties panel?

J

james

I cannot get my UserControl's browsable properties to show up
in the designer properties panel.

I have [ Browsable(true), Category("TEST"), Description("This is a test") ]
then public virtual bool TestProp { {get return testProp; } set { testProp =
value; } }

but it doesn't show up in the designer. By the way, this used to
work in the 2002 version, now in 2003 I am getting all kinds
of problems like this

Any ideas?

thanks,

JIM
 
J

Jeffrey Tan[MSFT]

Hi James,

Is your VS.net 2003 beta version?
The VS.net 2003 beta version does not support this characteristic.

In my VS.net 2003 non-beta version, your code works well in the
IDE.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

--------------------
| From: "james" <[email protected]>
| Subject: UserControl properties not browsable in properties panel?
| Date: Thu, 18 Sep 2003 15:34:20 -0500
| Lines: 19
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
| Message-ID: <[email protected]>
| Newsgroups: microsoft.public.dotnet.languages.csharp
| NNTP-Posting-Host: uslink-66.173.46-155.uslink.net 66.173.46.155
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.csharp:185920
| X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
|
| I cannot get my UserControl's browsable properties to show up
| in the designer properties panel.
|
| I have [ Browsable(true), Category("TEST"), Description("This is a test")
]
| then public virtual bool TestProp { {get return testProp; } set {
testProp =
| value; } }
|
| but it doesn't show up in the designer. By the way, this used to
| work in the 2002 version, now in 2003 I am getting all kinds
| of problems like this
|
| Any ideas?
|
| thanks,
|
| JIM
|
|
|
|
 
J

james

v7.1.3088

I do not think that is beta as I just got it.
I am using the Empower liscensed version.

JIM
 
J

Jeffrey Tan[MSFT]

Hi James,

You can create a new project to test this code, does the property appear in
property window?
If not, you can create the usercontrol in other language, such as VB.net,
does the property appear in
the property window?
Also, you can set this property in your program code, does the intellisense
appear?
Compile this code, does the usage of this property generate error?

Please provide these information for me, thanks

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

--------------------
| Reply-To: "james" <[email protected]>
| From: "james" <[email protected]>
| References: <[email protected]>
<[email protected]>
| Subject: Re: UserControl properties not browsable in properties panel?
| Date: Fri, 19 Sep 2003 09:56:31 -0500
| Lines: 68
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
| Message-ID: <[email protected]>
| Newsgroups: microsoft.public.dotnet.languages.csharp
| NNTP-Posting-Host: uslink-66.173.46-155.uslink.net 66.173.46.155
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.csharp:186081
| X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
|
| v7.1.3088
|
| I do not think that is beta as I just got it.
| I am using the Empower liscensed version.
|
| JIM
|
|
| | >
| > Hi James,
| >
| > Is your VS.net 2003 beta version?
| > The VS.net 2003 beta version does not support this characteristic.
| >
| > In my VS.net 2003 non-beta version, your code works well in the
| > IDE.
| >
| > Best regards,
| > Jeffrey Tan
| > Microsoft Online Partner Support
| > Get Secure! - www.microsoft.com/security
| > This posting is provided "as is" with no warranties and confers no
rights.
| >
| > --------------------
| > | From: "james" <[email protected]>
| > | Subject: UserControl properties not browsable in properties panel?
| > | Date: Thu, 18 Sep 2003 15:34:20 -0500
| > | Lines: 19
| > | X-Priority: 3
| > | X-MSMail-Priority: Normal
| > | X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
| > | X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
| > | Message-ID: <[email protected]>
| > | Newsgroups: microsoft.public.dotnet.languages.csharp
| > | NNTP-Posting-Host: uslink-66.173.46-155.uslink.net 66.173.46.155
| > | Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13.phx.gbl
| > | Xref: cpmsftngxa06.phx.gbl
| microsoft.public.dotnet.languages.csharp:185920
| > | X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
| > |
| > | I cannot get my UserControl's browsable properties to show up
| > | in the designer properties panel.
| > |
| > | I have [ Browsable(true), Category("TEST"), Description("This is a
| test")
| > ]
| > | then public virtual bool TestProp { {get return testProp; } set {
| > testProp =
| > | value; } }
| > |
| > | but it doesn't show up in the designer. By the way, this used to
| > | work in the 2002 version, now in 2003 I am getting all kinds
| > | of problems like this
| > |
| > | Any ideas?
| > |
| > | thanks,
| > |
| > | JIM
| > |
| > |
| > |
| > |
| >
|
|
|
 
J

james

Jeffry,

Sorry for the delay, but here is what I have found.
In a new project, I create a UserControl and
I add browsable properties, compile load the
control to the GUI and they do not appear in
the panel. Then I create an inherited user control
from that first control, and now the inherited control
*does* see the properties. Does this provide
anymore information that may point us
in the right direction ?

thanks again

JIM


Jeffrey Tan said:
Hi James,

You can create a new project to test this code, does the property appear in
property window?
If not, you can create the usercontrol in other language, such as VB.net,
does the property appear in
the property window?
Also, you can set this property in your program code, does the intellisense
appear?
Compile this code, does the usage of this property generate error?

Please provide these information for me, thanks

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

--------------------
| Reply-To: "james" <[email protected]>
| From: "james" <[email protected]>
| References: <[email protected]>
<[email protected]>
| Subject: Re: UserControl properties not browsable in properties panel?
| Date: Fri, 19 Sep 2003 09:56:31 -0500
| Lines: 68
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
| Message-ID: <[email protected]>
| Newsgroups: microsoft.public.dotnet.languages.csharp
| NNTP-Posting-Host: uslink-66.173.46-155.uslink.net 66.173.46.155
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.csharp:186081
| X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
|
| v7.1.3088
|
| I do not think that is beta as I just got it.
| I am using the Empower liscensed version.
|
| JIM
|
|
| | >
| > Hi James,
| >
| > Is your VS.net 2003 beta version?
| > The VS.net 2003 beta version does not support this characteristic.
| >
| > In my VS.net 2003 non-beta version, your code works well in the
| > IDE.
| >
| > Best regards,
| > Jeffrey Tan
| > Microsoft Online Partner Support
| > Get Secure! - www.microsoft.com/security
| > This posting is provided "as is" with no warranties and confers no
rights.
| >
| > --------------------
| > | From: "james" <[email protected]>
| > | Subject: UserControl properties not browsable in properties panel?
| > | Date: Thu, 18 Sep 2003 15:34:20 -0500
| > | Lines: 19
| > | X-Priority: 3
| > | X-MSMail-Priority: Normal
| > | X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
| > | X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
| > | Message-ID: <[email protected]>
| > | Newsgroups: microsoft.public.dotnet.languages.csharp
| > | NNTP-Posting-Host: uslink-66.173.46-155.uslink.net 66.173.46.155
| > | Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13.phx.gbl
| > | Xref: cpmsftngxa06.phx.gbl
| microsoft.public.dotnet.languages.csharp:185920
| > | X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
| > |
| > | I cannot get my UserControl's browsable properties to show up
| > | in the designer properties panel.
| > |
| > | I have [ Browsable(true), Category("TEST"), Description("This is a
| test")
| > ]
| > | then public virtual bool TestProp { {get return testProp; } set {
| > testProp =
| > | value; } }
| > |
| > | but it doesn't show up in the designer. By the way, this used to
| > | work in the 2002 version, now in 2003 I am getting all kinds
| > | of problems like this
| > |
| > | Any ideas?
| > |
| > | thanks,
| > |
| > | JIM
| > |
| > |
| > |
| > |
| >
|
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top