Tree view node click event on textbox enter event

3 posts, 0 answers
  1. Kaushal
    Kaushal avatar
    35 posts
    Member since:
    Oct 2010

    Posted 19 Oct 2010 Link to this post

    Hello All.
     
               I had design one search page, search page have top left side radtextbox, bottom left side treeview which will bind from database,right side gridview.

               I had used jquery autocomplete textbox functionality for searching result from textbox, when user select any value from textbox and press enter key i have to fire treeview node click event from server side, because using treeview nodeclick event i already bind the right side grid , same thing would happen on textbox enter event.

               Can you please suggest me how can i achieve this functionality.

    Thanks.
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 19 Oct 2010 Link to this post

    Hello,

    Eventhough there are many ways to accomplish the functionality, I am dipicting one here which I am hinking suitable for your setup made. Give a try with this and see whether it helps.

    In the OnKeyPress client event of RadTextBox, get the corresponding node in treeview. Then invoke the postback using select() method (Calling the select() function will select the Node and do postback).

    Thanks,
    Princy.
  3. Kaushal
    Kaushal avatar
    35 posts
    Member since:
    Oct 2010

    Posted 19 Oct 2010 Link to this post

    Thanks Princy.
Back to Top