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

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

1 Answer 24 Views
This is a migrated thread and some comments may be shown as answers.
Raghuraman Venkataraman
Top achievements
Rank 1
Raghuraman Venkataraman asked on 05 Apr 2011, 12:11 PM
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

1 Answer, 1 is accepted

Sort by
0
Dimitar Terziev
Telerik team
answered on 08 Apr 2011, 04:03 PM
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
Asked by
Raghuraman Venkataraman
Top achievements
Rank 1
Answers by
Dimitar Terziev
Telerik team
Share this question
or