Home All Groups Group Topic Archive Search About

Add control to TreeView (ASP.NET 2.0)

Author
25 Aug 2006 3:43 PM
Moistly
Is it possible to add, for exampl,e a button to a node of a TreeView?

Thanks

Author
26 Aug 2006 12:40 AM
Alvin Bruney [MVP]
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
-------------------------------------------------------


Show quoteHide quote
"Moistly" <pfranc***@gmail.com> wrote in message
news:1156520592.871066.257410@b28g2000cwb.googlegroups.com...
> Is it possible to add, for exampl,e a button to a node of a TreeView?
>
> Thanks
>
Author
10 Sep 2006 1:02 PM
Henk
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!!


Show quoteHide quote
"Alvin Bruney [MVP]" <www.lulu.com/owc> wrote in message
news:OLu1ciKyGHA.4576@TK2MSFTNGP06.phx.gbl...
> 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" <pfranc***@gmail.com> wrote in message
> news:1156520592.871066.257410@b28g2000cwb.googlegroups.com...
>> Is it possible to add, for exampl,e a button to a node of a TreeView?
>>
>> Thanks
>>
>
>
Author
11 Sep 2006 7:44 PM
Henk
Show quote Hide quote
"Henk" <Henkenbou***@versatel.nl> wrote in message
news:45040cc5$0$18663$bf4948fe@news.tele2.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:OLu1ciKyGHA.4576@TK2MSFTNGP06.phx.gbl...
>> 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" <pfranc***@gmail.com> wrote in message
>> news:1156520592.871066.257410@b28g2000cwb.googlegroups.com...
>>> Is it possible to add, for exampl,e a button to a node of a TreeView?
>>>
>>> Thanks
>>>
>>
>>
>
>