How can I show Read Only fields in edit form through Client Object Model c#, I'm giving showineditform=true but it is not working

Title.Required = true; 
Title.ReadOnlyField = true; 
  • Can you please post your code, so that we can identify the issue. – Pradip R. Apr 30 '15 at 13:53
  • Any solution for this – sindura May 7 '15 at 7:27

You can customize the edit form and configure the atribute "ControlMode" to the value "Display", see:

<SharePoint:FormField runat="server" id="ff1{$Pos}" ControlMode="Display" FieldName="Title" __designer:bind="{ddwrt:DataBind('u',concat('ff1',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Title')}"/>
| improve this answer | |
  • I need through c#, client object model console app – sindura Apr 30 '15 at 14:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.