473,500 Members | 1,906 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

UserControl properties not browsable in properties panel?

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
4 9358

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
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

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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
2020
by: DraguVaso | last post by:
Hi, I'm having some weird behaviour, and I can't find any solution to this. I made a UserControl (uclCommands) which contains a Toolbar (ToolBar1) with Modifiers = Public. I put this...
1
1279
by: Yoshitha | last post by:
Hi i've developed one usr control using windows control library which is having some public properties, after making this as dll i've used this control in my windows application, after placing...
3
1588
by: Sam Sungshik Kong | last post by:
Hello! While using panel control, I wondered a thing. Panel class is subclass of Control class. Control class has KeyPress event and Focus() method, etc... Then Panel class must have them. I...
2
1793
by: Lokhan Wong | last post by:
My question is whether it's possible to change the properties of a panel, that resides on the webform containing the usercontrol, in the usercontrol itself. Like this: <form> <asp:panel...
13
5318
by: Michael Maes | last post by:
Hi, I have a UserControl containing some controls of which one is a ComboBox. All the InternalControls are Private and some are allowed to be accessed through Public Methods. One of the things I...
3
2148
by: Don | last post by:
I've created a custom UserControlwithin which I have placed a Panel. I've changed the Panel's "Modifier" property to Public so that it appears in the Properties Window of the UserControl. This...
5
1659
by: Dennis | last post by:
I have a UserControl with several Browsable properties. In some of the properties "Set", I execute code that calls other procedures in my control. In the Design Mode when the properties are set in...
1
2998
by: Philipp Lenz | last post by:
I'm very confused about how this works, all the tutorials out there show me how to apply a skin to a webcontrol, but I want to know how I can access the components of a control....for example: I...
3
10233
by: marfi95 | last post by:
My application consists of basically a treeview on the left side, along with a panel control that takes up the right side. When nodes are clicked on the left, the data on the right side of the...
0
7156
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
7217
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,...
1
6924
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
7409
tracyyun
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...
0
5511
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,...
0
4619
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3115
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1446
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 ...
1
688
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.