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

Problem inserting a new record

2 Answers 73 Views
TreeList
This is a migrated thread and some comments may be shown as answers.
Imran
Top achievements
Rank 1
Imran asked on 19 Jun 2012, 10:59 AM
Hi,
        I am using RadTreeList control. I used the EditFormSetting with EditFormType='Template'. In that template I am bounding the values to server control with the help of Bind function. When I click on edit button, edit form is coming fine but when i try to click on add a record, it throws an exception which is "DataBinding: 'Telerik.Web.UI.TreeListInsertionObject' does not contain a property with the name 'Title'."

1) And more important when we will add a new record, how we get to know that the newly added record is a child of which parent?

Regards,
Imran Ahmad

2 Answers, 1 is accepted

Sort by
0
S
Top achievements
Rank 1
answered on 21 Apr 2016, 07:21 PM

i have exact same error, can anyone help on this,

 

i have the filed in coulmns section and also in edit template form

edit works fine, only adding new record has this error.

 

 

0
Pavlina
Telerik team
answered on 25 Apr 2016, 02:28 PM
Hi,

The same syntax is used in the following example: http://demos.telerik.com/aspnet-ajax/treelist/examples/dataediting/formtemplateusercontrol/defaultcs.aspx
where Template EditForm is used and as you can see there is no error. 

Additionally, could you confirm that you receive the same exception with the latest version?

Regards,
Pavlina
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
TreeList
Asked by
Imran
Top achievements
Rank 1
Answers by
S
Top achievements
Rank 1
Pavlina
Telerik team
Share this question
or