How to disable treeview postback in asp.net 2.0?

Discussion in 'ASP .Net' started by rockdale, Nov 1, 2006.

  1. rockdale

    rockdale Guest

    Hi,

    I have a treeview and in the page load event I populate the treeview
    completely. I do not have any server side event for the treeview. But
    still when the user click on a node, the treeview page post back. How
    can I disablle this annoying autopostback? There seems no AutoPostBack
    = false property for a asp:treeview. Thanks for any help.

    -Rockdale
     
    rockdale, Nov 1, 2006
    #1
    1. Advertisements

  2. rockdale

    Guest

    rockdale skrev:

    > Hi,
    >
    > I have a treeview and in the page load event I populate the treeview
    > completely. I do not have any server side event for the treeview. But
    > still when the user click on a node, the treeview page post back. How
    > can I disablle this annoying autopostback? There seems no AutoPostBack
    > = false property for a asp:treeview. Thanks for any help.
    >
    > -Rockdale


    Hi, When you add the node set SelectAction to None.

    Regards
    Reidar
     
    , Dec 14, 2006
    #2
    1. Advertisements

  3. rockdale

    Guest

    rockdale skrev:

    > Hi,
    >
    > I have a treeview and in the page load event I populate the treeview
    > completely. I do not have any server side event for the treeview. But
    > still when the user click on a node, the treeview page post back. How
    > can I disablle this annoying autopostback? There seems no AutoPostBack
    > = false property for a asp:treeview. Thanks for any help.
    >
    > -Rockdale


    Hi, When you add the node set SelectAction to None.

    Regards
    Reidar
     
    , Dec 14, 2006
    #3
    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. Stephen Gutknecht \(RS\)
    Replies:
    1
    Views:
    637
    Ravikanth[MVP]
    Aug 1, 2003
  2. Christopher D. Wiederspan

    Disable an ASP.NET form on the client before PostBack

    Christopher D. Wiederspan, Oct 24, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    950
    Alvin Bruney
    Oct 25, 2003
  3. =?Utf-8?B?VHltYm93?=
    Replies:
    2
    Views:
    25,243
    =?Utf-8?B?VHltYm93?=
    Jan 10, 2006
  4. Chris
    Replies:
    4
    Views:
    10,734
    Chris
    Feb 3, 2006
  5. Anders
    Replies:
    0
    Views:
    973
    Anders
    Apr 27, 2006
  6. Dave
    Replies:
    0
    Views:
    572
  7. Matt MacDonald

    ASP.NET 2.0 Treeview No Postback?

    Matt MacDonald, Sep 7, 2006, in forum: ASP .Net
    Replies:
    8
    Views:
    13,494
  8. japi
    Replies:
    2
    Views:
    7,418
    jinksk
    Aug 26, 2007
Loading...