Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Add control to TreeView (ASP.NET 2.0)

Reply
Thread Tools

Add control to TreeView (ASP.NET 2.0)

 
 
Moistly
Guest
Posts: n/a
 
      08-25-2006
Is it possible to add, for exampl,e a button to a node of a TreeView?

Thanks

 
Reply With Quote
 
 
 
 
Henk
Guest
Posts: n/a
 
      09-10-2006
I'm trying to, but it isnt clear to me.

I have a node
dim node1 as new treenode.

and add it to te treeview.:
treeview.items.add(node1)

so i can add a textbox how?
node1.add(new textbox()) won't work!!


"Alvin Bruney [MVP]" <www.lulu.com/owc> wrote in message
news:(E-Mail Removed)...
> yup, you can add controls the nodes the same way you add to a web form.
> .Node = new textbox() or html by doing .Text = "<asp:dropdownlist/>"
>
> roughly
>
> --
> ________________________
> Warm regards,
> Alvin Bruney [MVP ASP.NET]
>
> [Shameless Author plug]
> Professional VSTO.NET - Wrox/Wiley
> The O.W.C. Black Book with .NET
> www.lulu.com/owc, Amazon
> Blog: http://www.msmvps.com/blogs/alvin
> -------------------------------------------------------
>
>
> "Moistly" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed) oups.com...
>> Is it possible to add, for exampl,e a button to a node of a TreeView?
>>
>> Thanks
>>

>
>



 
Reply With Quote
 
 
 
 
Henk
Guest
Posts: n/a
 
      09-11-2006

"Henk" <(E-Mail Removed)> wrote in message
news:45040cc5$0$18663$(E-Mail Removed)2.nl...
> I'm trying to, but it isnt clear to me.
>
> I have a node
> dim node1 as new treenode.
>
> and add it to te treeview.:
> treeview.items.add(node1)
>
> so i can add a textbox how?
> node1.add(new textbox()) won't work!!
>
>
> "Alvin Bruney [MVP]" <www.lulu.com/owc> wrote in message
> news:(E-Mail Removed)...
>> yup, you can add controls the nodes the same way you add to a web form.
>> .Node = new textbox() or html by doing .Text = "<asp:dropdownlist/>"
>>
>> roughly
>>
>> --
>> ________________________
>> Warm regards,
>> Alvin Bruney [MVP ASP.NET]
>>
>> [Shameless Author plug]
>> Professional VSTO.NET - Wrox/Wiley
>> The O.W.C. Black Book with .NET
>> www.lulu.com/owc, Amazon
>> Blog: http://www.msmvps.com/blogs/alvin
>> -------------------------------------------------------
>>
>>
>> "Moistly" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed) oups.com...
>>> Is it possible to add, for exampl,e a button to a node of a TreeView?
>>>
>>> Thanks
>>>

>>
>>

>
>



 
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
Add control to TreeView tcncc ASP .Net 0 04-14-2009 09:48 AM
this.Controls.Add(Control) Does Not Add Control to child collection (this.Controls.Count == 0) Chad Scharf ASP .Net 3 10-18-2007 03:53 PM
How to use Javascript to add Treeview control Peter ASP .Net 3 11-03-2005 10:01 AM
Issue with a custom TreeView derived from the TreeView control Ionutz ASP .Net Web Controls 2 10-23-2005 03:23 PM
Add Controls within Treeview Control asp.net v2.0 sudhaoncyberworld@gmail.com ASP .Net Web Controls 1 08-10-2005 10:51 AM



Advertisments