Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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 ://s210.codeinspot.com/q/1453441

share|improve this question
add comment

1 Answer

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) 
{ 
   base.OnInit(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
add comment

Your Answer

 
discard

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.