Page 1 of 1

[SOLVED] Unable to clear ListBox

Posted: Sat Mar 12, 2016 5:11 am
by hamej
Neither setting ListBox.ItemsSource = null nor ListBox.Items.Clear() clears the items in the listbox.

Re: Unable to clear ListBox

Posted: Sat Mar 12, 2016 4:34 pm
by rkmore
I ran into that one too.

Try this.....

listBox1.ItemsSource = new List<object>();

It works.

RKM

Re: Unable to clear ListBox

Posted: Sun Mar 13, 2016 2:57 am
by hamej
Yes, it does! Thank you.

hamej

Re: Unable to clear ListBox

Posted: Mon Mar 14, 2016 2:59 am
by JS-Support @Userware
Thanks for reporting this issue.

We have been able to reproduce it.

We are going to fix it as soon as possible. I will keep you updated as soon as it is fixed.

Regards,
JS-Support

Re: [SOLVED] Unable to clear ListBox

Posted: Mon Sep 19, 2016 6:29 am
by JS-Support @Userware
Hi,

The issue has been fixed in a recent version.

You can download the latest version from:
http://forums.cshtml5.com/viewforum.php?f=6

Thanks.
Regards,
JS-Support