Click here to Skip to main content
15,887,135 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

On Treenode selection change, I want to refresh the page with selected node values.

What's happening is, whenever I am selecting any node, first it triggers Page_Load and then it moves to treeview1_SelectedNodeChanged, and here I am trying to refresh the page again but this is not happening.

Any help on this asap please!
Posted
Updated 30-Jan-11 20:45pm
v2
Comments
Sandeep Mewara 31-Jan-11 4:10am    
here I am trying to refresh the page again
and why is this?

If you can elaborate more on what is the scenario and why are you doing it then might be, we can help you in much better way.

Currently, the scenario or functionality does not mean much and is a bad usability case.
Sreenath Gv 31-Jan-11 4:11am    
I want to refresh the page to update details according to the treenode selection.
R. Giskard Reventlov 31-Jan-11 4:16am    
Sounds like another case of the initial population of the tree is outside of a if (!IsPostback) so that the PostBack renders the default rather than the changed values. Just a guess. ps have a look at __dopostback
Sunasara Imdadhusen 31-Jan-11 5:02am    
Please provide code snippet that you have written in side Page_Load event
shreekar 31-Jan-11 7:49am    
It seems like you have posted the same question later again in a different way.
http://www.codeproject.com/Questions/152177/Treeview-Issue-Queries.aspx

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900