Reset RadDataBoundListBox

Thread is closed for posting
2 posts, 0 answers
  1. Davut
    Davut avatar
    2 posts
    Member since:
    Jun 2014

    Posted 08 Jun 2014 Link to this post

    hi, this is my code

    when i click button to load different url or data into RadDataBoundListBox but  every time it is load same data

    i wan to reset  or delete old data

    i searched and visited  every page Telerik forum  but i could not find

    i am new to C# windows phone 8

    please can some one give me some sample  or can tell me how can i reset or delete old data when click button please

    thank you

    public void getMainData()

                string mainUrlData = "";

                WebClient wc = new WebClient();
                wc.DownloadStringCompleted += wc_DownloadStringCompleted;
                wc.DownloadStringAsync(new Uri(mainUrlData));

            void wc_DownloadStringCompleted(object sender, DownloadStringCompletedEventArgs e)
                    string result = e.Result.ToString();
                    JsonConvert.PopulateObject(result, PopulateData);
                    NewsList.ItemsSource = PopulateData;
  2. Ves
    Ves avatar
    2916 posts

    Posted 11 Jun 2014 Link to this post

    Hi Davut,

    I have attached a small example, showing this.

    Best regards,

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top