S
Stephan
Hello,
I have set the datasource property of a combobox control to an own
type which iherits from CollectionBase.
The first time the assignment works fine but when I try to reassign an
updated version my Collection to the datasource, the datasource
remains unassigned.
With the former framework version it worked fine but with 1.1.4322 the
reassignment is not working.
Does anybody know what the reason for this behavior is?
Thanks for your help in advance,
best wishes,
Stephan
Code Excerpt:
BatchEntries batchEntries = mQueue.Entries;
this.cmbEntries.DataSource=null;
if (batchEntries.Count>0)
{
this.cmbEntries.DataSource=batchEntries;
this.cmbEntries.DisplayMember="DisplayName";
}
I have set the datasource property of a combobox control to an own
type which iherits from CollectionBase.
The first time the assignment works fine but when I try to reassign an
updated version my Collection to the datasource, the datasource
remains unassigned.
With the former framework version it worked fine but with 1.1.4322 the
reassignment is not working.
Does anybody know what the reason for this behavior is?
Thanks for your help in advance,
best wishes,
Stephan
Code Excerpt:
BatchEntries batchEntries = mQueue.Entries;
this.cmbEntries.DataSource=null;
if (batchEntries.Count>0)
{
this.cmbEntries.DataSource=batchEntries;
this.cmbEntries.DisplayMember="DisplayName";
}