This is a migrated thread and some comments may be shown as answers.

Slow if not expanded

1 Answer 13 Views
Expander
This is a migrated thread and some comments may be shown as answers.
Dom
Top achievements
Rank 1
Dom asked on 16 Nov 2011, 04:50 PM
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

1 Answer, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 21 Nov 2011, 03:40 PM
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 >>

Tags
Expander
Asked by
Dom
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Share this question
or