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

Sitemap nodeitem click

1 Answer 37 Views
This is a migrated thread and some comments may be shown as answers.
tom
Top achievements
Rank 1
tom asked on 11 Nov 2010, 04:17 PM
Hi

I have read an earlier post on how to open a radwindow when the site map node is clicked client side.

function pageLoad() {
           $telerik.$(".rsmItem", $get("RadSiteMap1"))
           .live("click", openWindow);
           
       }

Which works fine - but i need to identify which node was clicked, is there away of passing the RadSiteMapNode text ?

Thanks in Advance

1 Answer, 1 is accepted

Sort by
0
Genady Sergeev
Telerik team
answered on 16 Nov 2010, 02:42 PM
Hello tom,

You can try the following code:

function pageLoad(sender, args) {
                  $telerik.$(".rsmLink").on("click", function (e) {
                      alert("The clicked item is : " + this.innerHTML);
                  });


Sincerely yours,
Genady Sergeev
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Asked by
tom
Top achievements
Rank 1
Answers by
Genady Sergeev
Telerik team
Share this question
or