This is a migrated thread and some comments may be shown as answers.

dynamic controls losing focus on click event

0 Answers 63 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Stuart
Top achievements
Rank 1
Stuart asked on 18 Apr 2009, 10:32 AM
I have a treeview control that is programatically populated.

I capture the click event server side, so I can expand or collapse nodes on the text click, not just the expander image.

One of the nodes has a textbox control added to it. but every time I click the text box to write into it, the node posts back and the textbox loses focus. I tried setting the clicked node's focus property but it bid not help with setting the focus of the textbox.

Any ideas?

Thanks

No answers yet. Maybe you can help?

Tags
TreeView
Asked by
Stuart
Top achievements
Rank 1
Share this question
or