views:

296

answers:

1

Rather than iterate through all the fields in an SPListItem SPFieldsCollection and rendering an input control for each one then trying to programmatically match them back up on post back. Is there an inbuilt method of doing this? i.e. of reusing the same control in the edititem.aspx page?

+1  A: 

ListFieldIterator control does what you want . Refer to this Link for more details and Another link.

Kusek
thanks - I had found the answer before but couldnt for the life of me remember the name of the control.
Mauro