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

Transferred Items Duplicating

2 Answers 88 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Chris Salas
Top achievements
Rank 1
Chris Salas asked on 24 May 2012, 10:30 PM
I have run into an issue here, i have 2 RadListBoxes on a page using the Transfer functionality.  The first RadListBox is bound on a SelectedIndexChanged event of a RadComboBox using an XML file.  I can transfer items to them with no issues.  The issue I am having is that when i hit a submit button on the page and the page posts back the transferred items are duplicating in the second RadListBox.  Has anyone seen this and overcome the issue?  I am also using the RadAjaxManager on the page and I think this is where the issue is coming from, when I remove the RadAjaxManager from the page it all seems to work.  Any ideas?

2 Answers, 1 is accepted

Sort by
0
Accepted
Peter Filipov
Telerik team
answered on 25 May 2012, 08:56 AM
Hi Chris,

It is a common issue with the RadListBox control when the RadAjaxManager is used. Please make sure that the RadListBox control is updated by the RadAjaxManager on every ajax postback (which is connected to the RadListBox - e.g. add/transfer items).
If you still experience some issues please send me a working sample to investigate it locally.

Kind regards,
Peter Filipov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Chris Salas
Top achievements
Rank 1
answered on 25 May 2012, 01:57 PM
That worked, thank you.  I had to add both ListBoxes as updated controls for every ajax setting of the Ajax manager.  That corrected the issue.
Tags
ListBox
Asked by
Chris Salas
Top achievements
Rank 1
Answers by
Peter Filipov
Telerik team
Chris Salas
Top achievements
Rank 1
Share this question
or