473,398 Members | 2,403 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

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 20 '05 #1
5 2355
* "Salman Ahmad Khan" <sa****@mixitusa.com> scripsit:
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.


'System.Windows.Forms.PropertyGrid'.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #2
Why not just use the Property grid for your class?
"Salman Ahmad Khan" <sa****@mixitusa.com> wrote in message
news:OS*************@TK2MSFTNGP09.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 20 '05 #3
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 20 '05 #4
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 20 '05 #5
Addendum:
'System.Windows.Forms.PropertyGrid'.


Getting the Most Out of the .NET Framework PropertyGrid Control
<URL:http://msdn.microsoft.com/library/en-us/dndotnet/html/usingpropgrid.asp>

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #6

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

Similar topics

0
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...
1
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...
4
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...
2
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...
3
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...
4
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...
1
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...
5
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...
5
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...
4
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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...
0
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,...
0
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...
0
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
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
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.