Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have a FofmField control on my custom site, nothing fancy:

<SharePoint:FormField runat="server" ID="formField" DisableInputFieldLabel="False" FieldName="Comments" ControlMode="Edit" />

If i set ItemId there in the FormField tag - everything works fine. If i set in Page_Load, the control behaves like it didn't have this property set - displays the description of this field. What am I missing here?

share|improve this question
add comment

closed as too localized by Alex Angas Jun 6 '11 at 4:18

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Browse other questions tagged or ask your own question.