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

Cleint event OnItemCreated fires after click

1 Answer 30 Views
TreeList
This is a migrated thread and some comments may be shown as answers.
Paul
Top achievements
Rank 1
Paul asked on 28 Jun 2011, 03:02 AM
Hi,

I'm trying to apply and inprove D'n'D from http://www.telerik.com/community/forums/aspnet-ajax/treelist/treelist-drag-n-drop-example-jquery.aspx

Unfortunately, OnItemCreated event fires only after mouse click anywhere on RadTreeList control, which is unexpected behaviour, as I understood.

Telerik version is 2011.1.526.40

1 Answer, 1 is accepted

Sort by
0
Tsvetina
Telerik team
answered on 29 Jun 2011, 11:43 AM
Hi Paul,

For optimization purposes the RadTreeList control creates its client TreeListDataItem objects only after they have been requested, in the general case - after the get_dataItems() property is called. Until then the items are not created, therefore the event does not fire.

Additionally, keep in mind that the drag and drop functionality is very soon to come - it will be available in the beta for Q2 2011, which is expected by the end of the week.

Kind regards,
Tsvetina
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
TreeList
Asked by
Paul
Top achievements
Rank 1
Answers by
Tsvetina
Telerik team
Share this question
or