[SOLVED] Unable to clear ListBox

Please report bugs here. If you are unsure whether something is a bug or an expected behavior, please post it on the "Technical Support" forum instead, and wait for a moderator to handle/move the post.
hamej
Posts: 37
Joined: Thu Oct 01, 2015 8:41 am

[SOLVED] Unable to clear ListBox

Postby hamej » Sat Mar 12, 2016 5:11 am

Neither setting ListBox.ItemsSource = null nor ListBox.Items.Clear() clears the items in the listbox.

rkmore
Posts: 55
Joined: Mon Dec 07, 2015 1:53 pm

Re: Unable to clear ListBox

Postby rkmore » Sat Mar 12, 2016 4:34 pm

I ran into that one too.

Try this.....

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

It works.

RKM

hamej
Posts: 37
Joined: Thu Oct 01, 2015 8:41 am

Re: Unable to clear ListBox

Postby hamej » Sun Mar 13, 2016 2:57 am

Yes, it does! Thank you.

hamej

JS-Support @Userware
Site Admin
Posts: 1142
Joined: Tue Apr 08, 2014 3:42 pm

Re: Unable to clear ListBox

Postby JS-Support @Userware » Mon Mar 14, 2016 2:59 am

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

JS-Support @Userware
Site Admin
Posts: 1142
Joined: Tue Apr 08, 2014 3:42 pm

Re: [SOLVED] Unable to clear ListBox

Postby JS-Support @Userware » Mon Sep 19, 2016 6:29 am

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


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 32 guests

 

 

cron