template items drag and drop

2 posts, 0 answers
  1. Catriona Potter
    Catriona Potter avatar
    3 posts
    Member since:
    Nov 2006

    Posted 23 Mar 2010 Link to this post

    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?.
  2. Genady Sergeev
    Genady Sergeev avatar
    1600 posts

    Posted 26 Mar 2010 Link to this post

    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.

    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.
Back to Top