6 Answers, 1 is accepted
0
Al
Top achievements
Rank 1
Iron
Iron
Iron
answered on 01 Aug 2016, 02:04 PM
Sorry about the typo. "what is the correct approach to get node lines with the Metro skin?"
0
Hi Al,
The lightweight TreeView supports node lines also in the Metro skin. So to resolve the issue, simply set the render mode to lightweight.
Regards,
Magdalena
Telerik by Progress
The lightweight TreeView supports node lines also in the Metro skin. So to resolve the issue, simply set the render mode to lightweight.
Regards,
Magdalena
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
0
Al
Top achievements
Rank 1
Iron
Iron
Iron
answered on 04 Aug 2016, 09:04 AM
When I use the code below then I get the node lines but the little expand /collapse indicator disappears
RenderMode="Lightweight"
ShowLineImages="true"
0
Hi Al,
Here is a very simple implementation of a RadTreeView in Lightweight render mode and Metro skin, with its lines shown:
On our side, the above renders correctly both lines and the expand / collapse arrow. Could you, please tell us how to modify the above, so it reproduces the problem observed?
Regards,
Veselin Tsvetanov
Telerik by Progress
Here is a very simple implementation of a RadTreeView in Lightweight render mode and Metro skin, with its lines shown:
<
telerik:RadTreeView
runat
=
"server"
RenderMode
=
"Lightweight"
ShowLineImages
=
"true"
Skin
=
"Metro"
>
<
Nodes
>
<
telerik:RadTreeNode
Text
=
"Node 1"
>
<
Nodes
>
<
telerik:RadTreeNode
Text
=
"Node 1.1"
/>
<
telerik:RadTreeNode
Text
=
"Node 1.2"
/>
<
telerik:RadTreeNode
Text
=
"Node 1.3"
/>
</
Nodes
>
</
telerik:RadTreeNode
>
<
telerik:RadTreeNode
Text
=
"Node 2"
>
<
Nodes
>
<
telerik:RadTreeNode
Text
=
"Node 2.1"
/>
<
telerik:RadTreeNode
Text
=
"Node 2.2"
/>
<
telerik:RadTreeNode
Text
=
"Node 2.3"
/>
</
Nodes
>
</
telerik:RadTreeNode
>
</
Nodes
>
</
telerik:RadTreeView
>
On our side, the above renders correctly both lines and the expand / collapse arrow. Could you, please tell us how to modify the above, so it reproduces the problem observed?
Regards,
Veselin Tsvetanov
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
0
Al
Top achievements
Rank 1
Iron
Iron
Iron
answered on 10 Aug 2016, 11:41 AM
Ok I eventually figured out why mine gave strange behaviour - I had two treeviews on my page, if one is set to lightweight and the other is not then the +/- arrows don't display as expected, set both to lightweight and all is ok.
0
Hi Al,
The Telerik AJAX controls suite supports only one type of render mode per page for each control type. Using different Render modes would lead appearance issues as the observed.
Regards,
Veselin Tsvetanov
Telerik by Progress
The Telerik AJAX controls suite supports only one type of render mode per page for each control type. Using different Render modes would lead appearance issues as the observed.
Regards,
Veselin Tsvetanov
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.