How to disable treeview postback in asp.net 2.0?

  • Thread starter Thread starter rockdale
  • Start date Start date
R

rockdale

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top