This question is locked. New answers and comments are not allowed.
I'm trying to deactivate the virtualization in the RadDataBoundListBox control.
I used to do it in the normal ListBox, by changing the itempanel to a normal stackpanel (instead of the virtualizingstackpanel).
is there a way to deactivate it in the telerik control?
I used to do it in the normal ListBox, by changing the itempanel to a normal stackpanel (instead of the virtualizingstackpanel).
is there a way to deactivate it in the telerik control?
5 Answers, 1 is accepted
0
Hi Tareq,
RadDataBoundListBox has been designed with UI virtualization in mind and therefore disabling it is currently not possible since it is actually the core of the control. It brings significant performance and memory consumption improvements to the application which uses the control.
Could you please share with us in what kind of scenario would you need to have this feature off and how it affects your development process?
Thanks for your time!
All the best,
Deyan
the Telerik team
RadDataBoundListBox has been designed with UI virtualization in mind and therefore disabling it is currently not possible since it is actually the core of the control. It brings significant performance and memory consumption improvements to the application which uses the control.
Could you please share with us in what kind of scenario would you need to have this feature off and how it affects your development process?
Thanks for your time!
All the best,
Deyan
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Tariq
Top achievements
Rank 2
answered on 05 Apr 2012, 07:01 AM
Hi, Thanks for answering.
I needed this because I have a short listbox (less than 10 items) and they have images binded to some http links.
when i scroll down, it loads the images again.(virtualizing)
I dont want to use ListBox coz I want to use the ItemAddedAnimation of the Rad control.
I needed this because I have a short listbox (less than 10 items) and they have images binded to some http links.
when i scroll down, it loads the images again.(virtualizing)
I dont want to use ListBox coz I want to use the ItemAddedAnimation of the Rad control.
0
Hello Tareq,
Normally, the Image element caches the loaded picture and does not make further web requests to load it again when the same Uri is provided. Could you please share some further details on your scenario (View Models and ListBox setup) so that we can take a look and see how we can further help?
You can open a new support ticket if you do not want to publically share your code in our forums.
Thanks for your time.
Greetings,
Deyan
the Telerik team
Normally, the Image element caches the loaded picture and does not make further web requests to load it again when the same Uri is provided. Could you please share some further details on your scenario (View Models and ListBox setup) so that we can take a look and see how we can further help?
You can open a new support ticket if you do not want to publically share your code in our forums.
Thanks for your time.
Greetings,
Deyan
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Tariq
Top achievements
Rank 2
answered on 05 Apr 2012, 09:27 AM
Yea I know, sorry, this info isnt important. (it doesnt matter if its external image (http) or internal)
the virtualization still works with local images. I need to disable this
the virtualization still works with local images. I need to disable this
0
Hi Tareq,
As I said, the RadDataBoundListBox is designed with UI virtualization in mind and you cannot disable it. However, you could use the RealizedItemsBufferScale property to increase the UI virtualization buffers' size so that more visual containers are realized at once:
this.radDataBoundListBox.RealizedItemsBufferScale = 4.0;
This will make the UI virtualization buffers 4 times the size of the control which will increase the amount of visual containers being realized.
Let me know in case I can further assist you.
Kind regards,
Deyan
the Telerik team
As I said, the RadDataBoundListBox is designed with UI virtualization in mind and you cannot disable it. However, you could use the RealizedItemsBufferScale property to increase the UI virtualization buffers' size so that more visual containers are realized at once:
this.radDataBoundListBox.RealizedItemsBufferScale = 4.0;
This will make the UI virtualization buffers 4 times the size of the control which will increase the amount of visual containers being realized.
Let me know in case I can further assist you.
Kind regards,
Deyan
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>