Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. SharePoint
  4. Using People Fields in Web Parts

Using People Fields in Web Parts

Scheduled Pinned Locked Moved SharePoint
csharpsharepointtutorialquestion
2 Posts 2 Posters 9 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    lday86
    wrote on last edited by
    #1

    Hi, I am trying to use a user field ("People picker field") in a SharePoint web part but it will not render. Can anyone point me in the direction of how to use a "People Field" in a c# web part? Cheers

    I 1 Reply Last reply
    0
    • L lday86

      Hi, I am trying to use a user field ("People picker field") in a SharePoint web part but it will not render. Can anyone point me in the direction of how to use a "People Field" in a c# web part? Cheers

      I Offline
      I Offline
      ISoftwareDev
      wrote on last edited by
      #2

      Have you created the child controls after creating your control? e.g. something like:

      PeopleEditor PeoplePickerControl = new PeopleEditor();
      this.Controls.Add(PeoplePickerControl);
      base.CreateChildControls();

      The following article may be useful: http://msdn.microsoft.com/en-us/library/dd490570.aspx[^]

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups