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

Node Click event to open radwindow?

3 Answers 125 Views
SiteMap
This is a migrated thread and some comments may be shown as answers.
Paul J
Top achievements
Rank 1
Paul J asked on 30 Sep 2010, 03:14 PM

I've accomplished having a Menu Item open a radWindow for the Menu control by setting the NavigateUrl attribute to empty string for those items I want to open the radWindow (as instructed by telerik support/forums -- only items with no NavigateUrl run the ItemClick event). I can obviously set the Node's NavigateUrl attribute to empty string as well on NodeDataBound event, but the SiteMap control does not provide an ItemClick/NodeClick event.

What's the best method for accomplishing this until you guys implement an similar Click event for the SiteMap control?

Thanks...

3 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 01 Oct 2010, 11:09 AM
Hello Paul J,

You need server-side Click event, is that the case?  I'm asking, because opening windows is usually made on the client.

Best regards,
Yana
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
0
Paul J
Top achievements
Rank 1
answered on 01 Oct 2010, 01:21 PM
Yes, I was referring to server side, as the forum posts I followed to get the radWindow to open on a menu item Click used the menu ItemClick server side event to set the radwindow's VisibleOnPageLoad to true. I was hoping to go the same route for the sitemap node, just to keep things consistent.

I suppose you're going to end up telling to just open it client side? If you can't provide a server side method, please then do show a client side version, or rather, what client side event of the sitemap node do I attached the call to open the radwindow?
0
Helen
Telerik team
answered on 07 Oct 2010, 12:34 PM
Hi Paul,

We are sorry for the late reply. Please find attached how to achieve this client -side by using jQuery.

Hope this helps.

Kind regards,
Helen
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
Tags
SiteMap
Asked by
Paul J
Top achievements
Rank 1
Answers by
Yana
Telerik team
Paul J
Top achievements
Rank 1
Helen
Telerik team
Share this question
or