This is a migrated thread and some comments may be shown as answers.
How to load content into div on page when 'onSelect' triggered?
2 Answers 42 Views
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Andy McShane
Top achievements
Rank 1
Andy McShane asked on 16 Nov 2010, 11:12 AM
Hi, I am looking at using the TreeView for a new project that I am about to start but I am a little confused as to whether I will be able to get the functionality that I require. Basically I will have a page that is split into 2 divs, the left containing the treeview and the right to load data into when the node 'onselect' method is triggered. This is where I am unsure how to do this. How can I target my left div to load content from the right div treeview node 'onSelect' using Ajax, is this possible? If so is there any example available?

Thanks.

2 Answers, 1 is accepted

Sort by
0
Accepted
Atanas Korchev
Telerik team
answered on 16 Nov 2010, 11:20 AM
Hello Andy McShane,

 You can check this code library. One of the things it shows is how to load partial views from the OnSelect event.

I hope this helps,
Atanas Korchev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Andy McShane
Top achievements
Rank 1
answered on 16 Nov 2010, 12:16 PM
Excellent, thanks. I assume this is targeted at MVC 2 and wont work in MVC 1, is that correct?
Tags
TreeView
Asked by
Andy McShane
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Andy McShane
Top achievements
Rank 1
Share this question
or