473,324 Members | 2,535 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

Adding controls to Treeview nodes possible?

Hi all,

Is it possible to add controls like buttons, textboxes etc to treeview nodes
like this link:

http://webui30.componentart.com/tree.../WebForm1.aspx

The nesting asp.net components example.

..........................or do I have to buy this component to do it. :-)

Thanks
Feb 28 '07 #1
4 8083
On Feb 28, 3:06 am, Shane <S...@discussions.microsoft.comwrote:
Hi all,

Is it possible to add controls like buttons, textboxes etc to treeview nodes
like this link:

http://webui30.componentart.com/tree...ng_aspnetConte...

The nesting asp.net components example.

.........................or do I have to buy this component to do it. :-)

Thanks
The TreeView control can only render text, icons and checkboxes...

Feb 28 '07 #2
Well then how did they do this if you cant do it with ASP.NET Treeview, did
they completely rewrite the control?

Because I have successfuly added HTML controls,button,radio button etc but
have not figured out how to use them yet.

Thanks

"Alexey Smirnov" wrote:
On Feb 28, 3:06 am, Shane <S...@discussions.microsoft.comwrote:
Hi all,

Is it possible to add controls like buttons, textboxes etc to treeview nodes
like this link:

http://webui30.componentart.com/tree...ng_aspnetConte...

The nesting asp.net components example.

.........................or do I have to buy this component to do it. :-)

Thanks

The TreeView control can only render text, icons and checkboxes...

Feb 28 '07 #3
On Feb 28, 8:20 pm, Shane <S...@discussions.microsoft.comwrote:
Well then how did they do this if you cant do it with ASP.NET Treeview, did
they completely rewrite the control?
I think they do not used the standard ASP.NET Treeview Control, they
created their own, and if you want to use it you have to buy the
license

Feb 28 '07 #4
This is a third party control not shipped from Microsoft and provides
additional functionality. There are many ASP.NET 3rd party suites that
provide additional features not shipped in System.Web.UI.WebControls,
for example of embedding content inside nodes:

http://www.telerik.com/demos/aspnet/...DefaultCS.aspx

In this approach they are using templates per node to define custom
content per node:

<radt:RadTreeNode Text="Inbox">
<NodeTemplate>
<div class="boldNode">
<%# DataBinder.Eval(Container, "Text")
%>
</div>
&nbsp;
<div class="blueNode">
<%# DataBinder.Eval(Container,
"Attributes['New']") %>
</div>
</NodeTemplate>
<radt:RadTreeNode />

Very convenient. But then again it is a custom 3rd party solution and
costs money.

Mar 3 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Hrvoje Voda | last post by:
I made my own user treeview control. Now, I can't access the method treeview.Nodes ! Why? Hrcko
3
by: Ankit Aneja | last post by:
I have a strange situation and I have no idea how to solve this. Its a Recruitment Search Page,in the Admin Page, for every button click event the Admin Person has to create a checkbox on the users...
1
by: Steve Shanks | last post by:
Hi Al Is there away to show specific treeview nodes in BOLD when building the treeview up in code Thank Steve
4
by: J.B. | last post by:
Hi Can anybody show me how to loop all treeview nodes ini vb.net. I've been working on this for days but still no result. I got a sample code in vb 6.0, this one works. Private Sub SaveNested(...
3
by: juvi | last post by:
Hi, I have got a problem with Treeview.Nodes.Clear() under VB2005. When I have some nodes in my treeview and a force to clear() all nodes then it seems to work, because the nodes are not visible....
0
by: Tor Inge Rislaa | last post by:
I need to expand/collapse TreeView nodes to show/hide childnodes by clikcing on the node text (instead of using the expand/collapse icon). Does anyone know how to do that? (What property has to be...
4
by: sajidali | last post by:
Hi to all of you? the problem is that i am working on a project which will generate the treeview nodes dynamically. i mean number of treeview nodes will be equal to the number of lines in a text...
2
by: Alexander Vasilevsky | last post by:
How to expand all TreeView nodes? http://www.alvas.net - Audio tools for C# and VB.Net developers + Christmas discount
0
by: Selva Kumari Padmanabhan | last post by:
hi, i am a new to c#, i hav 4months experience in C#, I am populating a treeview in c# from XmlFile, and i have implemented a multiselection in that treeview by overriding treeview select...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.