Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > SiteMap > Using 'Rel="nofollow"' attribute in sitemap control

Not answered Using 'Rel="nofollow"' attribute in sitemap control

Feed from this thread
  • Raghuraman Venkataraman avatar

    Posted on Apr 5, 2011 (permalink)

    Hello All,

    I am making use of Telerik's RadSiteMap control to display the hyperlinks of all the pages residing in my site. I have a requirement wherein I have to use the 'rel="nofollow"' attribute of the anchor tag for some of the hyperlinks (but not for all of them).

    Is it possible to control this using the ".sitemap" file itself. Otherwise is there any javascript workaround to add this attribute? I went through the html source of my aspx page once the page was rendered in my browser. There was no unique identifier for any of the hyperlinks. Any insights on how I could achieve this?

    Regards,
    Raghuraman.V

    Reply

  • Dimitar Terziev Dimitar Terziev admin's avatar

    Posted on Apr 8, 2011 (permalink)

    Hi Raghuraman,

    I've prepared an example page where using jQuery a 'rel="nofollow" attribute is added to particular nodes of the RadSiteMap.

    I hope this would help you out.

    Regards,
    Dimitar Terziev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
    Attached files

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > SiteMap > Using 'Rel="nofollow"' attribute in sitemap control