A
Adam Tibi
Hi,
I am using a web custom control with Visual Studio 2005 and I have a
property called :
[Category("Controls")]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
[NotifyParentProperty(true)]
[PersistenceMode(PersistenceMode.InnerProperty)]
public DropDownList DropDown {
get {
EnsureChildControls();
return _dropDown;
}
}
The problem is in the intellisense of the XML/HTML (Source) designer . The
intellisense is showing the DropDown tag <DropDown> </DropDown> but it
doesn't show any thing when I try to explore the childrens of this tag (by
writing < between the <DropDown> and </DropDown>) where I expect to have
<asp:ListItem> showing up! However, if I have <asp:ListItem> written inside,
it works as expected at runtime.
How can I tell the Intellisense to show the children or the DropDown tag? Am
I missing any attribute to do so?
Thanks for your help in advance.
Adam Tibi
Your Insurance Group
I am using a web custom control with Visual Studio 2005 and I have a
property called :
[Category("Controls")]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
[NotifyParentProperty(true)]
[PersistenceMode(PersistenceMode.InnerProperty)]
public DropDownList DropDown {
get {
EnsureChildControls();
return _dropDown;
}
}
The problem is in the intellisense of the XML/HTML (Source) designer . The
intellisense is showing the DropDown tag <DropDown> </DropDown> but it
doesn't show any thing when I try to explore the childrens of this tag (by
writing < between the <DropDown> and </DropDown>) where I expect to have
<asp:ListItem> showing up! However, if I have <asp:ListItem> written inside,
it works as expected at runtime.
How can I tell the Intellisense to show the children or the DropDown tag? Am
I missing any attribute to do so?
Thanks for your help in advance.
Adam Tibi
Your Insurance Group