Hi,
I'm using Ultra Tree in my win-form application.
can anyone tell me how to set focus or highlight on the next item at the same level as the deleted item (or the previous item, if the deleted item was the last at this level). If the deleted item was the only one at this level, focus on the parent.
send me a demo for that.Thanks in advance,Please Help me,its Urgent.
Hello Saroj,
I believe that this topic has already been discussed in the following forum thread:
http://community.infragistics.com/forums/t/69777.aspx.
Please feel free to let me know if a question about our toolset comes up on your mind.
Hello,
Thanks for your quick reply.
I solved my issue.but i have one more question.the scenario is after double click on a node it'll open a popup form. there i update data and after updating i load that tree view.but my problem is after loading tree-view the focus (selected) is lost.how 'll i set that updated node to be highlighted or selected.
plz help me out.
thanks in advance.
Here is a sample that I wrapped up quickly. You could activate the node after closing the modal form by saving it's key on double click and then use GetNodeByKey method: http://help.infragistics.com/NetAdvantage/WinForms/2012.1/CLR2.0/?page=Infragistics2.Win.UltraWinTree.v12.1~Infragistics.Win.UltraWinTree.UltraTree~GetNodeByKey.html.
The information about the clicked node in my sample is in the 'node' object.
I am not sure if my scenario is like yours since I cannot take a look at it.
Hi Boris,
again thanks for quick reply.I will try it .
I will be waiting for your feedback. Please let me know if you need my further assitance on this.
Thanks for your help again.this is working fine.but is there any other way except using key.bcoz in my appl key value is changing while node is updated.(key is generating by using id and name value).
I am checking about the progress of this issue. Please let me know If you need any further assistance on this.
You could use the following http://help.infragistics.com/NetAdvantage/WinForms/2012.1/CLR2.0/?page=Infragistics2.Win.UltraWinTree.v12.1~Infragistics.Win.UltraWinTree.UltraTree~GetNodeFromPoint(Int32,Int32).html. It is the other way to go down the road, but I do not know if it helps you, so would I like me to log some sort of product idea for this? Please let me know.