473,605 Members | 2,637 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("Th is 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 9370

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****@opensho pinc.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.publi c.dotnet.langua ges.csharp
| NNTP-Posting-Host: uslink-66.173.46-155.uslink.net 66.173.46.155
| Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!tk2 msftngp13.phx.g bl
| Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.langua ges.csharp:1859 20
| X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.csharp
|
| I cannot get my UserControl's browsable properties to show up
| in the designer properties panel.
|
| I have [ Browsable(true) , Category("TEST" ), Description("Th is 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.mi crosoft.com> wrote in message
news:df******** ******@cpmsftng xa06.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****@opensho pinc.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.publi c.dotnet.langua ges.csharp
| NNTP-Posting-Host: uslink-66.173.46-155.uslink.net 66.173.46.155
| Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!tk2 msftngp13.phx.g bl
| Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.langua ges.csharp:1859 20 | X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.csharp
|
| I cannot get my UserControl's browsable properties to show up
| in the designer properties panel.
|
| I have [ Browsable(true) , Category("TEST" ), Description("Th is 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****@hyperco n.net>
| From: "james" <no****@hyperco n.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.publi c.dotnet.langua ges.csharp
| NNTP-Posting-Host: uslink-66.173.46-155.uslink.net 66.173.46.155
| Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!TK2 MSFTNGP11.phx.g bl
| Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.langua ges.csharp:1860 81
| X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.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.mi crosoft.com> wrote in message
| news:df******** ******@cpmsftng xa06.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****@opensho pinc.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.publi c.dotnet.langua ges.csharp
| > | NNTP-Posting-Host: uslink-66.173.46-155.uslink.net 66.173.46.155
| > | Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!tk2 msftngp13.phx.g bl
| > | Xref: cpmsftngxa06.ph x.gbl
| microsoft.publi c.dotnet.langua ges.csharp:1859 20
| > | X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.csharp
| > |
| > | I cannot get my UserControl's browsable properties to show up
| > | in the designer properties panel.
| > |
| > | I have [ Browsable(true) , Category("TEST" ), Description("Th is 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.mi crosoft.com> wrote in message
news:FW******** ******@cpmsftng xa06.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****@hyperco n.net>
| From: "james" <no****@hyperco n.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.publi c.dotnet.langua ges.csharp
| NNTP-Posting-Host: uslink-66.173.46-155.uslink.net 66.173.46.155
| Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!TK2 MSFTNGP11.phx.g bl
| Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.langua ges.csharp:1860 81 | X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.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.mi crosoft.com> wrote in message
| news:df******** ******@cpmsftng xa06.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****@opensho pinc.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.publi c.dotnet.langua ges.csharp
| > | NNTP-Posting-Host: uslink-66.173.46-155.uslink.net 66.173.46.155
| > | Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!tk2 msftngp13.phx.g bl
| > | Xref: cpmsftngxa06.ph x.gbl
| microsoft.publi c.dotnet.langua ges.csharp:1859 20
| > | X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.csharp
| > |
| > | I cannot get my UserControl's browsable properties to show up
| > | in the designer properties panel.
| > |
| > | I have [ Browsable(true) , Category("TEST" ), Description("Th is 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
2029
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 usercontrol on my form and call it Ucl1. In the Property Window in the Windows Forms Designer I change Ucl1.ToolBar1.ButtonSize to a bigger value.
1
1284
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 this control into my form and checked the properties of this usercontrol in properties window then i didnt get the properties (which are public) into properties window, so l also tried of creating an object for that usercontrol and checked and i...
3
1604
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 guess it *has* then behind even if they are not meaningful. However, the code complete tool doesn't show them when I type panel1.(code complete list). Actually I can type panel1.Focus() without any compilation error.
2
1802
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 visibility=false .... </asp panel> <user:control> //a function here turns the visibilty to true </user:control>
13
5332
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 would like to do (of course) is set the DataBindings. Something clearly is wrong with the approach I use, because I can't set the Properties in the Designer, the DataSource-Property appears like 'ReadOnly', there is no "dropdown" with the list from...
3
2154
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 way, I could modify the properties of the panel within the UserControl when I place a UserControl on a Form. Or so I thought. I can set the properties of the Panel within the UserControl via the Properties Window, but none of the changes made to...
5
1664
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 the properties window, is the UserControl Property "set" called which executes the procedures called in the set routine of the property? -- Dennis in Houston
1
3007
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 have a usercontrol, the ascx is defined like this: <%@ Control Language="C#" AutoEventWireup="true" CodeFile="Test.ascx.cs" Inherits="Spin.Test" %> <asp:Panel ID="Panel1" runat="server" Height="243px" Width="350px">
3
10245
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 panel is changed based on that type. What I'm using are usercontrols, so I can do the visual design of them in a separate window. when the node is clicked, I assign the parent of the usercontrol to the panel control that is on the right side of...
0
8004
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8425
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8418
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8071
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6743
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
3912
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
3958
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2438
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 we have to send another system
1
1541
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.