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

Not Found append in Client Api

2 Answers 51 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
HoJin
Top achievements
Rank 1
HoJin asked on 17 Feb 2012, 11:16 AM
Hi..
I Use Telerik Extensions for Asp.NET MVC Componet.(2011.3.1115)
My Application is Asp.Net MVC3 Webform, .net Framework 4.0

I Read Document(Client API and Events) http://www.telerik.com/help/aspnet-mvc/telerik-ui-components-treeview-client-api-and-events.html

I will try to add a node to the treeview.
I've written code.

var treeview = $('#ProductsTreeView').data('tTreeView');
treeview.append({ Text: "bar" }, treeview.findByText("foo"));

My Applicaion an error occurs.

My Applicaion an error occurs. append API can not be found.

Why not found append API?
insertAfter, insertBefore can not find.

I saw telerik.treeview.min.js file but does not exist.

thank you.

2 Answers, 1 is accepted

Sort by
0
Accepted
Roatin Marth
Top achievements
Rank 1
answered on 17 Feb 2012, 04:50 PM
append was introduced in the 2012 Q1 release (2 days ago).
0
HoJin
Top achievements
Rank 1
answered on 20 Feb 2012, 05:39 AM
Thank you! Roantin Marth. Very helpful to me.
Tags
TreeView
Asked by
HoJin
Top achievements
Rank 1
Answers by
Roatin Marth
Top achievements
Rank 1
HoJin
Top achievements
Rank 1
Share this question
or