SiteMap + custom template + server variable

2 posts, 0 answers
  1. David
    David avatar
    39 posts
    Member since:
    Aug 2014

    Posted 05 May 2015 Link to this post

    I have a requirement to provide the user a visual indicator that they are logged in and a selection drop-down for which user profile they want to be using. This requirement is accross the application and I would like to place these functions into the RadNavigation {or RadMenu, whichever is best} on the master page.

     Piecing things together I think the following is the right approach. Please advise on corrections and/or better ways to do this.

    1) in the site-map, the add two nodes titled 'userSamAccount' and 'userProfile'

    2) create one custom databound template for displaying the active directory name, and another for displaying the profile drop-down items :

    3) on Template Needed, if node title is 'userSamAccount' or 'userProfile', align to the right via css {below} and change their templates to the custom ones.


    Will this work?


    <style type="text/css">
          .RadNavigation .searchBoxWrapper {
             position: absolute;
             right: 0;
             top: 0;


  2. Plamen
    Plamen avatar
    2926 posts

    Posted 06 May 2015 Link to this post

    Hi David,

    Thank you for contacting Telerik support.

    The plan looks correct. The only advice i would add is concerning the step 3. Instead of using the template needed event you can set the CssClass of the nodes in the NodeDateBound event 

    If you have further questions please don't hesitate to contact us again.


    See What's Next in App Development. Register for TelerikNEXT.

Back to Top