Slow if not expanded

2 posts, 0 answers
  1. Dom
    Dom avatar
    18 posts
    Member since:
    May 2011

    Posted 16 Nov 2011 Link to this post

    Hi,

    I have a listbox with a list of items on top right, to its left i have a dataform with the properties of the selected item (with textbox, etc to modify each property).

    On the bottom of the page I have an expander (with the isexpanded property set to false).

    In it I have a gridview binding to the same items list as the listbox so the use can filter/search his list if he needs to.

    My problem is that when i click on the expand button it takes a little while for it to open (depends on how big the list) but if I put isexpanded= true, it will at sametime as everything else without slowing things down (maybe 1 second but not sure).

    So is it because it doesn't bind when it's not expanded? Can i force it to bind so it opens fast?

    Thanks for your help
  2. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 21 Nov 2011 Link to this post

    Hi Dom,

     It is expected that the RadGridView takes some time to load when it's parent (the RadExpander) is expanded. If you have set the IsExpanded to true initially, the application will load slower.
    However, if you think that there is huge time difference between these two scenarios, is it possible for you to send us a runnable sample so that we would be better able to investigate it ? Thank you in advance. 

    Best wishes,
    Petar Mladenov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft banner
Back to Top