Monday 25 April 2011

Clearing the People Picker Control

For clearing the People Picker Control we should first clear its Accounts and then entities then only it will clear. If you do it in the reverse way or miss any of one it wont work.

WSOwner.Accounts.Clear();
WSOwner.Entities.Clear();
[WSOwner represents peoplepicker object]

1 comment: