SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have created a custom EntityEditorWithPicker control. And now I need add TreeView control at the left hand of the PickerDialog, when it is shown. But I can't found how to get an instance of PickerDialog to add it on my control with TreeView. Where is located the instance of created PickerDialog? I need do something like this:

url: http ://

share|improve this question

You would need to create a class inherting PickerDialog, and SImpleQueryControl. In your class inherting PeopleEditor, override OnInit and set the PickerDialogType

protected override void OnInit(EventArgs e) 
   this.PickerDialogType = typeof(CustomPickerDialog); 


The class inheriting the SimpleQueryControl is where you can add the controls to the results table.

Check this page on how to overide PickerDialog. Also check this page on how to inherit SimpleQueryControl

share|improve this answer
I have already read them. There are nothing about how to add my class inherited from PickerDialog to my own webcontrol, that was created earlier. Then show my own webcontrol, that contains class inherited from PickerDialog as a child when PickerDialog is shown. – andDaviD Jun 21 '12 at 6:07

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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