Relegence
asked on
second click on treeview node with no selection change
Hi
I am working with TreeView in c#. I have an OnSelectedNodeChanged method.
When the user selects a node, it's caught and dealt with. But when the user selects the same node again, I can't catch it because I hadn't found a callback that deal with this.
Thanks
Osnat
I am working with TreeView in c#. I have an OnSelectedNodeChanged method.
When the user selects a node, it's caught and dealt with. But when the user selects the same node again, I can't catch it because I hadn't found a callback that deal with this.
Thanks
Osnat
ASKER
there is no such even for treeview..
i couldn't find any "onclick", "click", "onselect"..
i couldn't find any "onclick", "click", "onselect"..
Ah sorry, its an ASP.NET treeview. Yes, you are correct there is no Click event. YTou could get away with this:
protected void TreeView1_SelectedNodeChanged(object sender, EventArgs e)
{
TreeView1.SelectedNode.Selected = false;
}
ASKER
Except i am not changing a node, therefore it never gets there. that's actually my problem, because i do have one OnSelectedNodeChanged method working already.
Again - I need something to catch a Non selection-change-click. Just a click on the Same node.
In this case, postback is called, but how can i catch this event?
Again - I need something to catch a Non selection-change-click. Just a click on the Same node.
In this case, postback is called, but how can i catch this event?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
You are right, now i understand, i must have missed a part.
Thanks
Thanks
Then why did you give me B grade? What part of the question is left unanswered?
Goran