Custom webcontrol with reference to another one



Hi,
I've been working on a custom webcontrol with a property that
references another webcontrol from the same page.
In my special test case I have a Person_firstname1 control and a
PersonSource1 control. The Person_firstname1 have a property of the
type PersonSource. Now i want to assign the this property in the visual
studio designer. How could I persuade the designer, to show a dropdown
list of the controls in the page with the correct type (e.g.
PersonSource1, PersonSource2 etc.)

Thanks in advance,
Mirko

.



Relevant Pages

  • One custom WebControl using it at several webpage with diffirent behaviour isnt working
    ... I have a custom webcontrol, the control is used on two pages. ... closer ) ... I asume the webcontrol is loaded once during global loading of the ...
    (microsoft.public.dotnet.framework.aspnet.buildingcontrols)
  • Hide property in Collection Editor
    ... I have developed a custom webcontrol like a Table with a rows collection ... For the control I have create class derived from ControlDesigner, ... Designer attribute on class declaration for the control and this work ... public class Control_A_Designer: ControlDesigner ...
    (microsoft.public.dotnet.framework.aspnet)
  • How to know the selected row in a DataControlField
    ... I'm creating a custom WebControl that extends GridView. ... loads its columns dinamically reading from a XML configuration file. ... Many columns loaded by the control may be a custom DataControlField ... the ImageButton, directly in the DataControlField i made, but I would ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • RE: Custom webcontrol with reference to another one
    ... I created 2 classes - MailLink and ToLink. ... PersonSource1 control. ...
    (microsoft.public.dotnet.framework.aspnet.buildingcontrols)
  • Re: Switching to Design Mode in VS2005
    ... design mode for a user control I get: ... As you can see this is a custom webcontrol within a div. ... has nested controls which have styles. ...
    (microsoft.public.dotnet.framework.aspnet)