Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

.aspf file, on load: set SharePoint ClientPeoplePicker to Enabled=false

$
0
0

Hi.

Depending on form values, I would like to disable a ClientPeoplePicker.

Everything was ok using a PeoplePicker, but my client would prefer ClientPeoplePicker. And Enabled=false is ignored for ClientPeoplePicker.

How can I set Enabled=false using C# server code? I saw many solutions setting Enabled=false using javascript; but in my case it is not always the same value to set; and the easier place would be in page onload , in server code.



Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>