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

Tree view node click event on textbox enter event

2 Answers 196 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Kaushal
Top achievements
Rank 1
Kaushal asked on 19 Oct 2010, 11:08 AM
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 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 19 Oct 2010, 01:56 PM
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.
0
Kaushal
Top achievements
Rank 1
answered on 19 Oct 2010, 02:14 PM
Thanks Princy.
Tags
TreeView
Asked by
Kaushal
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Kaushal
Top achievements
Rank 1
Share this question
or