ListItems.ItemSource is clearly data before I click on button? How to do that? RRS feed

  • Question

  •  I want ListItems.ItemSource is clearly(delete old data) data before I click on button.

    private void btnSearching_Click(object sender, RoutedEventArgs e) 



    On the first time it was clicked button then listitems will return that results

    On the second time it was clicked button then listitems will be delete data on the first time and return newest data.

    actually, I can clicked on button  to on the third times. On the fourth times ,fifth...,listitems will not return anything, nothing...

    I dont explain about that? Sorry.

    Monday, May 4, 2015 2:36 AM

All replies

  • Hi Greg Heffey,

    Could you please try to post a simple reproduce project in here? I want to have a test in my side.
    Thanks for your understanding.

    Best Regards,
    Amy Peng

    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Tuesday, May 5, 2015 6:58 AM