SitePanelBarCancel

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.

Hi,
I have a sitepanelbar like
Senior Leadership Management
CheifExecutive-Jonathan
President-chuckmeclendon

senior leadership management is a parent node for the CheifExecutive-Jonathan,President-chuckmeclendon.
my requirement is
1)seperate the designation(cheifexecutive) with the name(jonathan)
and make the CheifExecutive-Jonathan to

CheifExecutive
Jonathan. with both having different color.

For this i need to add the <br> tag between the designation and name and wrap the Name(jonathan) into a <span> tag so that i can apply different syling tto both the name and designation.

The problem is how to get the child elements of a particular node and applying the tags as mentioned above.

Hi,
and sorry for replying late.
what you advised will work fine for the existing employee list.
the code which you sent is like hard-coded , what if in future he adds another employee to the list then the change will not be reflected to the new added employee.

Tools

Sitefinity Professional Services

Progress, Telerik, Sitefinity and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries.