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

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

  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. 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. 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:
    800
    Alvin Bruney
    Oct 25, 2003
  2. =?Utf-8?B?VHltYm93?=
    Replies:
    2
    Views:
    24,489
    =?Utf-8?B?VHltYm93?=
    Jan 10, 2006
  3. Anders
    Replies:
    0
    Views:
    867
    Anders
    Apr 27, 2006
  4. Dave
    Replies:
    0
    Views:
    483
  5. Matt MacDonald

    ASP.NET 2.0 Treeview No Postback?

    Matt MacDonald, Sep 7, 2006, in forum: ASP .Net
    Replies:
    8
    Views:
    13,005
Loading...

Share This Page