I'm building a web page that uses a tree view control. If i click on a particular node i want to redirect a value to the next page .. how to do it using the treeview?
I would greatly appreciate some insight on this.
okie i will explain u clearly . i have 3 forms. In first form i have dropdownlist where in i have to pass the value of the selectedItem to the third form . From first form i ll redirect the value to the second form(here it necessary to go to the second form) . i have used label to store the the value in the second form.. that value i have to pass to the third form using treeview. please help me slove this problem.
so u want to pass first form value to third.so why dont u use session or cookie.so that it u can access through out the application.other wise if u wish to contue ur process then it simple.like..
ya if give the path in node it self.this event will not raise.and i am sugesting u by making changes in ur code here
//no need pass as query string
in pageload some where lese u can write
//here if want u can set this string to any label
//nxt step is as ur using sessions this event is not neccesary as we dont need to pass any values from here(we have values in session with which we can access any where)..but if u want to use i modified this event as...
protected void TreeView1_SelectedNodeChanged1(object sender, EventArgs e)
check the case for session..it should be Session["Text1"].Tostring();
in form 1 also modify.....that....sorry this mistake is due to me only....i always neglect this case sensitivity...
plz check ones.....