Click to See Complete Forum and Search --> : treeview control


jabbarsb
May 12th, 2007, 10:51 AM
hi friends,
I am using treeview control in C# i want to set some session and some little code on click of particular node how can i achieve this
regards jabbar

TheCPUWizard
May 12th, 2007, 11:48 AM
hi friends,
I am using treeview control in C# i want to set some session and some little code on click of particular node how can i achieve this
regards jabbar

Given the general nature of your question [meaning absolutely NO specifics], I have to give a general answer....

Write some code that interacts with the treeview and the session collection....

jabbarsb
May 13th, 2007, 02:17 AM
something like this

protected void main_menu_TreeNodePopulate(object sender, TreeNodeEventArgs e)
{
if (main_menu.SelectedNode.Value == "New Enrollments")
{
session["val"]="abc";
Response.Write("ajklsfklakldsfkl");
}
}