TreeView Control - OnClick event?

Discussion in 'ASP .Net' started by Mel, Oct 5, 2007.

  1. Mel

    Mel Guest

    I populate my tree programmatically; it's just a list of directories
    and their files. I need to capture the click event every time a node
    is clicked because I perform one action for a .PDF file type and
    another action for a .DOC file type. SelectedNodeChanged event is
    triggered only when you select different node, but if you click on the
    same node (that is ALREADY SELECTED) no event is triggered. How do I
    capture the click event?


    (Using Asp.net 2.0, Visual Studio 2005, Visual Basic)
    Mel, Oct 5, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. JerryG
    Replies:
    0
    Views:
    423
    JerryG
    Dec 20, 2005
  2. Khaja Moin

    Not able to get the Onclick Event in TreeVIew Control

    Khaja Moin, Jun 27, 2003, in forum: ASP .Net Web Controls
    Replies:
    2
    Views:
    168
  3. Praveen Naregal

    OnClick event in TreeView

    Praveen Naregal, Feb 17, 2004, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    133
    Praveen Naregal
    Feb 17, 2004
  4. Ionutz
    Replies:
    2
    Views:
    528
    Ionutz
    Oct 23, 2005
  5. bob
    Replies:
    3
    Views:
    183
Loading...

Share This Page