|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Add control to TreeView (ASP.NET 2.0)Is it possible to add, for exampl,e a button to a node of a TreeView?
Thanks 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 -- Show quoteHide quote________________________ 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 > 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 >> > >
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 >>> >> >> > >
objectdataSource case sensitive with parameters??
label overlap during design Don't understand state in WebControls class Page CallBack ICallbackEventHandler Issue getting value from dynamically creating datagrid boundcolumn dynamically set property on a control Doubts in maintaining Session Variables Plz help Dirty property value persist problem Iterate through Wizard control with textboxes |
|||||||||||||||||||||||