peopleeditor这个东东,到底需要什么支持,
做了个webpart修改AD用户属性。用这个做搜索用户。
在我的虚机上很完美,但是 同事 测试安装 后S活就是点不开“浏览”按钮。弹出错误提示。
如下图:
有遇到的木?
问题研究中。。。。。。
------------------------------已结,问题和控件无关。大家是不会遇到这个问题的。不说原因了。-_-!
P.S.
//private PeopleEditor objEditor;
//objEditor = new PeopleEditor();
//objEditor.AutoPostBack = false;
//objEditor.PlaceButtonsUnderEntityEditor = false;
//objEditor.ID = "pplEditor";
//objEditor.AllowEmpty = false;
//objEditor.SelectionSet = "User"; //"User,DL,SecGroup,SPGroup"
//objEditor.MultiSelect = false;
//objEditor.Width = 170;
//this.Panel1.Controls.Add(objEditor);
赋默认值:
//objEditor.CommaSeparatedAccounts = "DC\\Users"
取值:
//objEditor.CommaSeparatedAccounts;