Combo Items clear problem!

3 posts, 0 answers
  1. Tom
    Tom avatar
    3 posts
    Member since:
    Apr 2003

    Posted 31 Aug 2010 Link to this post

    Hello all,
    In my project, i got 3 comboboxes. When the user clicks the first combobox and chooses an item, then the second combobox is loaded with  some data. The same mechanism works just fine when the user chooses items for the first time. When the user has already choosen the items on the 3 comboboxes, and tries to change the value in one of the comboboxes, then the following code is being used:

    cmbArrondisement.Items.Clear();
      
    foreach (RadComboBoxItem item in Middle_Tier.SideFormFunc.ConvertToComboBoxItem Middle_Tier.SideFormFunc.LoadArrondisements(Convert.ToString(cmbMunicipality.SelectedValue))))
    {
      cmbArrondisement.Items.Add(item);
    }

    By the time that the program reaches cmbArrondisement.Items.Clear(); command, then it freezes and after 1 or 2 minutes it unfreezes. cmbArrondisement has only 1 item.

    Could you explain this problem?


    Thanks in advance
  2. Peter
    Admin
    Peter avatar
    1148 posts

    Posted 03 Sep 2010 Link to this post

    Hello Thanassis papaioannou,

    Please take a look at  the “Optimizing output, page load time and the overall performance of RadControls for ASP.NET AJAX”  help article.

    All the best,
    Peter
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Tom
    Tom avatar
    3 posts
    Member since:
    Apr 2003

    Posted 05 Sep 2010 Link to this post

    Thank you for your response. It seems that i done something wrong. I wanted to make this thread on the WinForms/ComboBox Section of your forum. Im transfering my above request to the right section.
Back to Top