Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Intellisense for the children of a Complex Property

Reply
Thread Tools

Intellisense for the children of a Complex Property

 
 
Adam Tibi
Guest
Posts: n/a
 
      01-20-2006
Hi,

I am busing a web custom control with Visual Studio 2005 and I have a
property called :
[Category("Controls")]
[DesignerSerializationVisibility(DesignerSerializat ionVisibility.Content)]
[NotifyParentProperty(true)]
[PersistenceMode(PersistenceMode.InnerProperty)]
public DropDownList DropDown {
get {
EnsureChildControls();
return _dropDown;
}
}

The problem is in the intellisense of the XML/XHTML (Source) designer . The
intellisense is showing the DropDown tag but it doesn't show any thing when
I try to explore the childrens of this tag. This works as expected and show
"DropDown" as an option:

<abc:MyControl id="test" runat="server">

<DropDown>

<DropDown>

</abc:MyControl>

But when I try to write any thing inside the DropDown tag, I get no
intellisense and it is expected to show "asp:ListItem" children tags and
when I write them I get a red underline, however, the ListItems that I add
executes fine at run time.

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


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Alternative to "children" property of DOM in firefox Angel Javascript 10 06-20-2006 07:28 AM
custom control property intellisense mr. dropdown ASP .Net Building Controls 0 06-19-2006 09:13 PM
VS 2005 intellisense for complex properties in the XML/HTML designer Adam Tibi ASP .Net Building Controls 2 02-21-2006 02:52 PM
Is "children" a valid property in Firefox? Todd Cary Javascript 1 02-03-2005 07:32 PM
For expert on complex loops (reposted) - complex looping problem news.amnet.net.au Java 1 04-13-2004 07:10 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57