locked
Person Field type for applicaiton page RRS feed

  • Question

  • Hi,

    I have created list definition for custom list.

    Then, I used applicatin page for new form, edit form, display form using visual studio.

    I don't know how to create control for user field type in application page.

    Thanks in advance!


    Best Regards, wendy

    Wednesday, July 11, 2012 6:26 AM

Answers

  • Hi!

    You can add control for user field type like following:

    <SharePoint:UserField ID="MyUserField" runat="server" FieldName="MyUserFieldInternalName" />

    • Proposed as answer by HeToC Wednesday, July 11, 2012 6:53 AM
    • Marked as answer by Lhan Han Friday, July 20, 2012 3:54 AM
    Wednesday, July 11, 2012 6:43 AM