Node Click event to open radwindow?

4 posts, 0 answers
  1. Paul J
    Paul J avatar
    101 posts
    Member since:
    Nov 2008

    Posted 30 Sep 2010 Link to this post


    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...
  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 01 Oct 2010 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Paul J
    Paul J avatar
    101 posts
    Member since:
    Nov 2008

    Posted 01 Oct 2010 Link to this post

    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?
  5. Helen
    Admin
    Helen avatar
    1052 posts

    Posted 07 Oct 2010 Link to this post

    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
Back to Top