TreeNode Control with 2 links for each element

Discussion in 'ASP .Net Web Controls' started by Chakravarthy, Mar 10, 2009.

  1. Chakravarthy

    Chakravarthy Guest

    Hi All,

    In any traditional TreeNode, there will be only one hyperlink. Is it
    possible to have 2 hyperlinks. I give an example as mentioned below.
    ------------------------------------
    [+] Regions
    [-] Products
    [-] Category 1
    [-] Product 1 - Buy
    [-] Product 2 - Buy
    [-] Product 6
    [-] Category 2
    [-] Product 3 - Buy
    [-] Product 4
    [-] Product 5 - Buy
    [+] Category 3
    [+] Category 4

    -------------------------------------

    In the above example, Product 6 and Product 4 are already purchased by the
    user. So, there will be two kinds of behaviors for each TreeNode. Two events
    needed to be delegated. One event is on the click of the left hyperlink to
    "-" and the other click event is to the right side of "-"

    Thanks for reading,
    Any help or suggestions or recommendations are highly appreciated.
     
    Chakravarthy, Mar 10, 2009
    #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. John Blair
    Replies:
    1
    Views:
    452
    Eliyahu Goldin
    Aug 3, 2005
  2. tanya foster
    Replies:
    3
    Views:
    3,838
    tanya foster
    May 18, 2006
  3. HANM
    Replies:
    2
    Views:
    1,201
    Joseph Kesselman
    Jan 29, 2008
  4. abargaddon
    Replies:
    0
    Views:
    1,140
    abargaddon
    Jan 17, 2008
  5. Pat Maddox
    Replies:
    6
    Views:
    220
    Marcin Mielżyński
    Jan 20, 2006
Loading...

Share This Page