saidi reddy

saidi reddy

  • 1.5k
  • 234
  • 3.1k

people picker control in Editform.Aspx

Jun 24 2016 1:23 AM
Hi Team,
 
in a sharepoint list, i am using custom columns in newform.aspx and editform.aspx.
Custom columns means i recreated(using c# code) all columns and using them instead of default columns in new and edit form.in that, one column is people picker control.i am able to save the data. But, in Editfrom.aspx page, when i try to edit a column people picker control is blank.
 plz help me how can i show it in editform.aspx.
 
Below code snippet i used for creating control using c#. 
  1. <SharePoint:PeopleEditor ID="BusinessSPOC" runat="server" Width="250px" Style="padding: 5px;"  
  2.                 BorderColor="#e8e8e8" BorderWidth="1px" BorderStyle="Solid"  AllowEmpty="false" ErrorMessage="Please Enter a User" ValidatorEnabled="true">  
  3.             </SharePoint:PeopleEditor>  

Answers (1)