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

template items drag and drop

1 Answer 44 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Catriona Potter
Top achievements
Rank 1
Catriona Potter asked on 23 Mar 2010, 04:52 PM
I have two ListBox both are made up of template items bound to different database information.
They have different data but some is common.
When I drag from ListBox1 to ListBox2 I want to insert into the database on ListBox2_Inserting.
I need the attributes that I've assigned to the items in ListBox1 but when I look at the data received in the ListBox2_Inserting there are no attributes.

Can I pass the attributes accross? If so how, as standard code doesn't give me the data?.

1 Answer, 1 is accepted

Sort by
0
Genady Sergeev
Telerik team
answered on 26 Mar 2010, 11:09 AM
Hi Catriona Potter,

Where do you attach the attributes? I have tried on ItemDataBound and I was able to successfully retrieve them in the OnInserting event. You can find my test project as an attachment.

Greetings,
Genady Sergeev
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.
Tags
ListBox
Asked by
Catriona Potter
Top achievements
Rank 1
Answers by
Genady Sergeev
Telerik team
Share this question
or