473,657 Members | 2,567 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

DataGrid like VS.NET Properties Window

Hi there,

I need to manipulate DataGrid in such a way that it acts something like
VS.NET Properties Window i.e. it consists of two columns one acts like a
non editable lable and the second one is editable field.

Is there any other way? ListView wud have been suitable had it provided
edition of SubItems.

Any ideas are welcome.
Nov 16 '05 #1
3 1319
Why not just use the Property grid for your class?
"Salman Ahmad Khan" <sa****@mixitus a.com> wrote in message
news:OS******** *****@TK2MSFTNG P09.phx.gbl...
Hi there,

I need to manipulate DataGrid in such a way that it acts something like
VS.NET Properties Window i.e. it consists of two columns one acts like a
non editable lable and the second one is editable field.

Is there any other way? ListView wud have been suitable had it provided
edition of SubItems.

Any ideas are welcome.

Nov 16 '05 #2
In article <OS************ *@TK2MSFTNGP09. phx.gbl>, sa****@mixitusa .com
says...
Hi there,

I need to manipulate DataGrid in such a way that it acts something like
VS.NET Properties Window i.e. it consists of two columns one acts like a
non editable lable and the second one is editable field.

Is there any other way? ListView wud have been suitable had it provided
edition of SubItems.


Look at the PropertyGrid class.

http://makeashorterlink.com/?F5D0125F1

--
Patrick Steele
Microsoft .NET MVP
http://weblogs.asp.net/psteele
Nov 16 '05 #3
Hi Salman,

I see this is a special MVP question.

However I am so bold to give you the right link for it.

http://msdn.microsoft.com/library/de...classtopic.asp

Cor
Nov 16 '05 #4

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

Similar topics

0
1054
by: TomJames | last post by:
There are references to a "Properties Builder" that is supposed to be at the bottom of the Properties Window for a Datagrid. All I have at the bottom is "Auto Format" which displays standard styles. Is there some trick to get to the "Properties Builder" which can be used to format Datagrid columns?
1
3123
by: Robert | last post by:
This is a repost from the other dotnet.csharp forum: I'm including a simple datagrid control on my web form. I have created a Dataview (reportListView) onto a data table to populate it. At its simplest it works - if I define the datasource for the grid to be 'reportListView' and use autogenerate columns then I get all columns of the view appearing when the page is viewed. However I now want to restrict the number of columns to be...
4
4490
by: Carl Fenley | last post by:
I believe I have almost successfully created a custom datagrid control. The new class builds without error. I have added it as reference to the main Windows Application project. It appears on the Toolbox as expected, but... When I drag-drop it on a Form, it appears like a component (e.g. SqlConnection) down in it's own area not drawn on the form. When I created the Windows Control Library, I never actually added a DataGrid control...
2
2027
by: Marty McDonald | last post by:
When setting certain datagrid properties with the IDE (as in the property window), they don't seem to take effect. For instance, Font Name. So I have to set these via code-behind at the cell level. Is this expected? Shouldn't anything on the properties window render accordingly? Thanks
3
1186
by: Jon Paugh | last post by:
Hi All, I want to extend the datagrid by adding some paging options that do not come out of the box. When I create a class that extends datagrid, and then use it on my page (it's a custom control),the designer window now makes all the properties of the datagrid red. Error is "the active schema does not support...".
4
6191
by: dyw55a | last post by:
Donna Mar 15, 10:11 am show options Newsgroups: microsoft.public.dotnet.framework.adonet From: "Donna" <dyw...@yahoo.com> - Find messages by this author Date: 15 Mar 2005 10:11:56 -0800 Local: Tues, Mar 15 2005 10:11 am Subject: VB.NET dynamically create datagrid and set its datasource Reply | Reply to Author | Forward | Print | Individual Message | Show original | Report Abuse
1
1773
by: Dave Taylor | last post by:
I have a StatusBar control docked to the bottom of the screen, a horizontal splitter control just above that, and then a DataGrid control that has its docking property set to Fill above that. (I'm trying to create a "Properties Window" similar to the Properties Window in Visual Studio). The problem is, when I resize the StatusBar, making it larger by moving the splitter control, it does not force DataGrid to redraw and display the...
5
5904
by: Genojoe | last post by:
I am using code from Help with two exceptions. (1) I increased the number of sample rows from 3 to 20, and (2) I anchored the datagrid to bottom of form so that I can change the size of the grid by changing the size of the form The code is at the following location in the January, 2004 help ms-help://MS.VSCC.2003/MS.MSDNQTR.2004JAN.1033/cpref/html/frlrfSystemWindowsFormsDataGridClassTopic.ht You can also find it by doing a search for...
5
6694
by: Jeff User | last post by:
Hello ..NET 1.1, VS 2003, C# & asp.net I have tried to follow msdn instructions and samples but I can not get an event to fire for this button on the datagrid. There has to be something obvious missing here, but after 2 days I am ready to explode ! Please help. To create the Delete button I selected the grid in design view, clicked the "Columns" property and added the Delete button in the
4
2124
by: Jeff User | last post by:
Hi I tryed to solve this problem over in the framework.asp group, but still am having trouble. Hope someone here can help. using .net 1.1, VS 2003 and C# I have an asp.DataGrid control with a Delete button on the end of each row. I am unable to gain access to the event when the button is clicked. I don't fully understand how the click gets connected to the C# code,
0
8305
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
8823
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
8730
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
8605
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
5632
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
4151
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
4301
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1950
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1607
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.