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. Advertisements

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. Dr Deadpan
    Replies:
    3
    Views:
    4,220
    Dr Deadpan
    Nov 21, 2003
  2. Kwena Seema via .NET 247

    Calender Control onClick event

    Kwena Seema via .NET 247, Jun 28, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    540
    =?Utf-8?B?QmhhcmF0IEJpeWFuaQ==?=
    Jul 31, 2004
  3. RA
    Replies:
    5
    Views:
    15,873
    =?Utf-8?B?YW1pcm1pcmE=?=
    Apr 1, 2005
  4. JerryG
    Replies:
    0
    Views:
    565
    JerryG
    Dec 20, 2005
  5. 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:
    281
  6. Praveen Naregal

    OnClick event in TreeView

    Praveen Naregal, Feb 17, 2004, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    216
    Praveen Naregal
    Feb 17, 2004
  7. Tillman

    Make parent control event call child control event

    Tillman, May 21, 2004, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    455
    Tillman
    May 21, 2004
  8. Ionutz
    Replies:
    2
    Views:
    808
    Ionutz
    Oct 23, 2005
Loading...