Which data control gives me this view?

  • Thread starter Thread starter HillBilly
  • Start date Start date
H

HillBilly

I want to get a logged in user's properties into a vertical template

=============================================
FieldName Label | FieldValueToEdit Label
=============================================
LinkedFieldToEdit | ValueToEdit
.... | ...
.... | ...
=============================================

Which data control in the framework should be used and if more than one
choice is available using templates a quick comment on why please...
 
Hello there Morten, yes web developers need a PropertyGrid as it looks
exactly what I would like to use. I started by reviewing the QuickStarts [1]
where I'm sure one of the data controls may be used but its not easy to
determine which one supports vertical orientation. Perhaps somebody will
comment further...


[1]
http://quickstarts.asp.net/QuickStartv20/aspnet/doc/ctrlref/data/default.aspx


Morten Wennevik said:
Hi Billy,

Would you be looking for a PropertyGrid? This is what is used for editing
properties in the Visual Studio IDE and supports various ways of editing
the
values, including custom ones.

There are many examples on how to use a PropertyGrid

http://www.c-sharpcorner.com/Upload...arp11302005004139AM/PropertyGridInCSharp.aspx

A more indept example showing how to use custom types in the grid:

http://msdn.microsoft.com/en-us/library/aa302326.aspx

--
Happy Coding!
Morten Wennevik [C# MVP]


HillBilly said:
I want to get a logged in user's properties into a vertical template

=============================================
FieldName Label | FieldValueToEdit Label
=============================================
LinkedFieldToEdit | ValueToEdit
.... | ...
.... | ...
=============================================

Which data control in the framework should be used and if more than one
choice is available using templates a quick comment on why please...
 
Back
Top