Slow Loading Collapse/Show Tabs

Thread is closed for posting
2 posts, 0 answers
  1. Peter
    Peter avatar
    2 posts
    Member since:
    Mar 2008

    Posted 17 Mar 2008 Link to this post


    I have a radtabstrip (within a documentpanel) the tabstrip has about 20 tabs, each tab contains either a datagridview or a tablelayoutpanel with several controls in it (about 30 textboxes/labels). i want to dynamically change the visibility of the tabs, when i click a certain node in a treeview, the right tabs should be shown/hidden.

    so i check which tabs are already visible and hide them as following:

    public void hideTabs()
    foreach (TabItem ti in radTabStripMain.Items)
            if (ti.Visibility == Telerik.WinControls.ElementVisibility.Visible)
                ti.Visibility = Telerik.WinControls.

    and in my selected event of the treeview i've put:

    private void rtvImmo_Selected(object sender, EventArgs e)
    switch (rtvImmo.SelectedNode.Level)
    case 0:
                tiPatrimonium.Visibility = Telerik.WinControls.
                tiPatrimoniumLasten.Visibility = Telerik.WinControls.
                tiPatrimoniumVerzekeringen.Visibility = Telerik.WinControls.
                radTabStripMain.SelectedTab = tiPatrimonium;

    However, this takes ages to load the new tabs to be shown?

    any help would be appreciated!



  2. Nikolay
    Nikolay avatar
    1805 posts

    Posted 20 Mar 2008 Link to this post

    Hi Peter,

    Could you please open a new support ticket and send me a sample application that reproduces the wrong behavior? This will allow me to give you more accurate help and to address any potential issue further.

    Sincerely yours,
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top