Definately not fixed in the release I have which is listed as 2012.2.912.35. My .aspx is
<telerik:RadListBox ID="rlbStagesOnEvent" runat="server" AutoPostBack="true"
AllowReorder="True" AutoPostBackOnReorder="True" DataTextField="EventStageName" DataValueField="ID"
EmptyMessage="No Event Stages Defined" Height="100%" Width="100%"
OnSelectedIndexChanged="rlbStagesOnEvent_SelectedIndexChanged" OnReordering="rlbStagesOnEvent_Reordering" />
Note that I am loading an Object DataSource for the listbox. Each EventStage object has an internal sequence number which is what I want to update in the database to reflect the change made. My handler is
protected void rlbStagesOnEvent_Reordering(object sender, RadListBoxReorderingEventArgs e)
RadListBoxItem liToMove = rlbStagesOnEvent.Items[rlbStagesOnEvent.SelectedIndex];
RadListBoxItem liOther = (e.Index == -1) ? rlbStagesOnEvent.Items[rlbStagesOnEvent.SelectedIndex - 1] : rlbStagesOnEvent.Items[rlbStagesOnEvent.SelectedIndex + 1];
// Read the event stage definition back from the database
EventStage esToMove = new EventStage(int.Parse(liToMove.Value));
EventStage esOther = new EventStage(int.Parse(liOther.Value));
// Swap the sequence numbers over
int oldSequence = esToMove.Sequence;
esToMove.Sequence = esOther.Sequence;
esOther.Sequence = oldSequence;
I have uploaded a video of the program running in debug as
If I can't get this to work can I add my own buttons and then re-order the items manually server side? If not I will have to give up with the Telerik suite as nothing I have tried so far has worked for me...