473,807 Members | 2,825 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Property Grid Custom Popup

I am using the PropertyGrid control, and have been trying some demos from
CodeProject, but cannot seem to find a specific item. I want to simply have
a string property, and on the property I want an ellipsis button that I will
bring up a custom winforms form. The winforms form builds a complex string.
When exiting the winforms form, I simply want to fill the string back into
the property. Specific instructions would be much appreciated!

Aug 3 '08 #1
1 2231
There was an article in Visual Studio Magazine on doing this some time back.

Here:

http://visualstudiomagazine.com/colu...torialsid=1894

"Derek Hart" <de********@yah oo.comwrote in message
news:uz******** ******@TK2MSFTN GP02.phx.gbl...
>I am using the PropertyGrid control, and have been trying some demos from
CodeProject, but cannot seem to find a specific item. I want to simply have
a string property, and on the property I want an ellipsis button that I
will bring up a custom winforms form. The winforms form builds a complex
string. When exiting the winforms form, I simply want to fill the string
back into the property. Specific instructions would be much appreciated!

Aug 5 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
9257
by: Shanthi | last post by:
I am using property grid in C# application. Property grid displays the propeties properly. But I have some problem in displaying custom validation message. I have integer type property. When I give invalid values for the property it is throwing System exception as follows. "Invalid Property Value. Is not a valid value for Int32. Though I have custom validation message in the Property set system throws exception before this.
1
2286
by: john menke | last post by:
I am new to .Net and have a requirements for a project that we zoom a grid control when it's clicked. This grid will contain a yellow pages like listing and be displayed on a form with other grids in a table like format. Does the grid control support zoom? Can anyone suggest a way for me to layout the grids on the form programtically in a HTML table like structure? - Optimally i would query the db to find the relevant records then...
3
1908
by: pnp | last post by:
When I use a custom class object as the selected object of a property gird control is there a way to set custom names fro the grouped sections shown in it? Thanks, Peter
2
987
by: James Tillery | last post by:
I hope I can describe this correctly: I have a asp.net custom control and I have what I see as a complicated bunch of properties that I would like to have set in there own property page. I'm referring to something like when you go into the properties page of a control and there is a button on a property which if you press calls another page like a grid control. Thanks for the help, jrt
0
5570
by: Brian Young | last post by:
Hi all. I'm using the Property Grid control in a control to manage a windows service we have developed here. The windows service runs a set of other jobs that need to be managed. The control is used to view the state of the running jobs and schedule new jobs. The control also runs in the context of Internet Explorer (we do this so the administrators of the jobs can always receive the latest control). The property grid is used to...
3
1792
by: Nice Chap | last post by:
Is it possible to have custom property pages for a Component and if so how I can write one please ? Also, is it possible to reuse the drop down box that we get for Data Source and Data Member inside VS.net's property grid, for my component ? If so any pointers would be immensely appreciated. Thank you.
1
2094
by: --== Alain ==-- | last post by:
Hi, I finally found how to update the render of my custom control when one of its property value changed. However, i would like to know if there is not another way, because i'm afraid about memory usage or leak. The following code is only a change color property update, but it is easy to adapt it to other properties.
2
4226
by: R.A.F. | last post by:
Hi, I have a custom control in which i have a collection property named "Columns". this collection property add/remove column objects. in my Column class i have a property named Alignment which use a custom property editor. when this property editor is not linked to this property,
1
4390
by: asharda | last post by:
I have a custom property grid. I am using custom property grid as I do not want the error messages that the propertygrid shows when abphabets are entered in interger fields. The custom property grid doesn't show colloections i.e. if I have a List<Objectthen the Collection is shown but when I click on the "..." button next to it nothing comes up. If I say CustomPropertyGrid p = new CustomPropertyGrid(); p.SelectedObject = new...
0
9599
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10626
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
10372
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...
0
10112
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9193
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
6879
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5546
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...
1
4330
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
2
3854
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.