By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,795 Members | 1,660 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,795 IT Pros & Developers. It's quick & easy.

UserControl properties not browsable in properties panel?

P: n/a
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

Nov 15 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a

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" <jk****@openshopinc.com>
| 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: <ej**************@tk2msftngp13.phx.gbl>
| 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!tk2msftn gp13.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
|
|
|
|

Nov 15 '05 #2

P: n/a
v7.1.3088

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

JIM
"Jeffrey Tan[MSFT]" <v-*****@online.microsoft.com> wrote in message
news:df**************@cpmsftngxa06.phx.gbl...

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" <jk****@openshopinc.com>
| 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: <ej**************@tk2msftngp13.phx.gbl>
| 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!tk2msftn gp13.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
|
|
|
|

Nov 15 '05 #3

P: n/a

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" <no****@hypercon.net>
| From: "james" <no****@hypercon.net>
| References: <ej**************@tk2msftngp13.phx.gbl>
<df**************@cpmsftngxa06.phx.gbl>
| 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: <ex**************@TK2MSFTNGP11.phx.gbl>
| 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!TK2MSFTN GP11.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
|
|
| "Jeffrey Tan[MSFT]" <v-*****@online.microsoft.com> wrote in message
| news:df**************@cpmsftngxa06.phx.gbl...
| >
| > 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" <jk****@openshopinc.com>
| > | 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: <ej**************@tk2msftngp13.phx.gbl>
| > | 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!tk2msftn gp13.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
| > |
| > |
| > |
| > |
| >
|
|
|

Nov 15 '05 #4

P: n/a
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[MSFT]" <v-*****@online.microsoft.com> wrote in message
news:FW**************@cpmsftngxa06.phx.gbl...

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" <no****@hypercon.net>
| From: "james" <no****@hypercon.net>
| References: <ej**************@tk2msftngp13.phx.gbl>
<df**************@cpmsftngxa06.phx.gbl>
| 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: <ex**************@TK2MSFTNGP11.phx.gbl>
| 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!TK2MSFTN GP11.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
|
|
| "Jeffrey Tan[MSFT]" <v-*****@online.microsoft.com> wrote in message
| news:df**************@cpmsftngxa06.phx.gbl...
| >
| > 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" <jk****@openshopinc.com>
| > | 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: <ej**************@tk2msftngp13.phx.gbl>
| > | 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!tk2msftn gp13.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
| > |
| > |
| > |
| > |
| >
|
|
|

Nov 15 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.