This is a migrated thread and some comments may be shown as answers.

rtplus for nodes without children

1 Answer 40 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
deval
Top achievements
Rank 1
deval asked on 25 Jan 2011, 09:51 PM
Hi, due to a client request I need all parent nodes even if they have NO child nodes with the same icon.
Currently I'm using the rtPlus, rtMinus to show the corresponding icons, but from what I can see in the rendered html code, these two spans are missing when a node has no child nodes. How can I achieve this?

Can be client or server side.

Thanks in advance, 

Deval

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 28 Jan 2011, 04:47 PM
Hi Deval,

I suggest you set ExpandMode to "ServerSideCallBack" of these nodes - in this way the "rtPlus" icon will be rendered.

Best wishes,
Yana
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
TreeView
Asked by
deval
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or