To be more specific.
After inserting a new ASPxListBox with ID="ASPxListBox2" and a new DataSource with ID="AccessDataSource3", i change the behind-code like that (using the ASPxListBox_ValueChanged() sub):
VB:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
DataBind()
ASPxListBox1.SelectedIndex = ASPxListBox1.Items.IndexOfValue(AccessDataSource2.SelectParameters("PeopleID").DefaultValue)
End Sub
Protected Sub ASPxListBox2_ValueChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles ASPxListBox2.ValueChanged
AccessDataSource2.SelectParameters("PeopleID").DefaultValue = ASPxListBox2.SelectedItem.Value.ToString()
DataBind()
End Sub
Protected Sub ASPxListBox1_ValueChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles ASPxListBox1.ValueChanged
AccessDataSource2.SelectParameters("PeopleID").DefaultValue = ASPxListBox1.SelectedItem.Value.ToString()
DataBind()
End Sub
but the ASPxRoundPanel still displays data from one of the two ListBoxes.
What's going wrong?
Thank you for your support DevExpressers