Treeview control. No selected treenode wanted

Discussion in 'ASP .Net' started by jason.hau@gmail.com, Jan 23, 2006.

  1. Guest

    I currently have a treeview control instance (from the IE Webcontrols)
    that I dynamically generate teh nodes for. it's part of a link
    selection dialog and in order to cut down on generating the entire site
    structure at once, I have it so that selecting a folder moves you down
    a level. This works fine however, the first node in teh tree is always
    marked as selected. If, for example, the first node is a folder that
    you want to enter, you ahve to select something else and then select
    that folder to go into it because the first node is automatically
    assigned as selected = true ergo clicking on it directly on first
    entering the form does not trigger the selectedindexchanged event.
    Does anyone know of a way around this?
     
    , Jan 23, 2006
    #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. Harvey
    Replies:
    0
    Views:
    1,051
    Harvey
    Jul 16, 2004
  2. Harvey
    Replies:
    1
    Views:
    1,136
    Daniel
    Jul 16, 2004
  3. naijacoder naijacoder
    Replies:
    1
    Views:
    783
    naijacoder naijacoder
    Sep 15, 2004
  4. tanya foster
    Replies:
    3
    Views:
    3,988
    tanya foster
    May 18, 2006
  5. John Devlon

    remove selected treenode

    John Devlon, Apr 21, 2008, in forum: ASP .Net
    Replies:
    2
    Views:
    463
    John Devlon
    Apr 21, 2008
  6. abargaddon
    Replies:
    0
    Views:
    1,242
    abargaddon
    Jan 17, 2008
  7. Rickey Whitworth

    Custom TreeNode for asp.net 2.0 treeview control

    Rickey Whitworth, Jan 18, 2006, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    1,231
    Steven Cheng[MSFT]
    Jan 19, 2006
  8. Jerry C

    Add a control to a treenode. TreeView

    Jerry C, Jul 14, 2006, in forum: ASP .Net Web Controls
    Replies:
    2
    Views:
    393
    Walter Wang [MSFT]
    Jul 17, 2006
Loading...