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.
rashmigs84
0
Light Poster
Recommended Answers
Jump to Posthi rasmi ,
u can use treeview SelectedNodeChanged event just like selected indexchanged in dropdown list.
below is the example.<asp:TreeView ID="TreeView1" runat="server" ImageSet="Contacts" NodeIndent="10" OnSelectedNodeChanged="TreeView1_SelectedNodeChanged"> <ParentNodeStyle Font-Bold="True" ForeColor="#5555DD" /> <HoverNodeStyle Font-Underline="False" /> <SelectedNodeStyle Font-Underline="True" HorizontalPadding="0px" VerticalPadding="0px" /> <Nodes> <asp:TreeNode Text="java" Value="java"></asp:TreeNode> <asp:TreeNode Text="sap" Value="sap"></asp:TreeNode> <asp:TreeNode Text=".net" …
Jump to Postsome thing wrong here...i have replied in this thread...but its not showning properly.....
Jump to Posthey rasmi,
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.....
All 9 Replies
srikanthkadem
0
Junior Poster in Training
srikanthkadem
0
Junior Poster in Training
rashmigs84
0
Light Poster
srikanthkadem
0
Junior Poster in Training
rashmigs84
0
Light Poster
srikanthkadem
0
Junior Poster in Training
rashmigs84
0
Light Poster
srikanthkadem
0
Junior Poster in Training
rashmigs84
0
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.