dynamic controls losing focus on click event

1 posts, 0 answers
  1. Stuart
    Stuart avatar
    2 posts
    Member since:
    Apr 2009

    Posted 18 Apr 2009 Link to this post

    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?

Back to Top