0

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

1

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

1
  • 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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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