Monday, September 6, 2010

Dynamic Field Name in Custom List Form

A common problem that is normally faced while using Custom List forms or Data View Web Part is Column Name doesn’t get updated automatically in the customized form if any change is made to the Column name in the list.

For resolution of this problem use following code in place of hard coding column names in the custom list forms.

ControlMode will change based upon the form type (New, Edit and Display)

ControlMode=”New / Edit / Display”

FieldName=Internal name of the fields

References:

http://ankushg.spaces.live.com/blog/cns!12D87E23D9058350!235.entry

Always Search @ Fukat Ka Gyan: Hub For Quick Solutions

No comments:

Post a Comment