We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

too much bandwidth

hi, in grids and grouping grids bound to datasets and dataviews, how much prefetching do they do. we noticed that over internet connections things get slow. how can we tweak this, hopefully without having to go virtual. tia

3 Replies

AD Administrator Syncfusion Team August 24, 2004 12:43 PM UTC

I think Ado.Net normally uses a disconnected architecture. So, when you do a DataAdapter.Fill the whole request is processed and stored locally, and is used in a disconnected manner until you do an update. Our grids play no role in this. They are just use the disconnected result set in a strictly disconnected manner. So, once a dataset has been retrieved, I do not think there should be further loads on your database until you call dataAdapter.Update. But I may be missing something here.

AD Administrator Syncfusion Team August 24, 2004 02:10 PM UTC

i did suspect the fill, but what if a query is 1 GB, over the internet we''ll be be sitting there an hour at least. i''m just throwing this out there, let me know if you see a fix. would a virtual grouping grid be possible? very difficult i''d imagine. thanks

AD Administrator Syncfusion Team August 24, 2004 02:34 PM UTC

The only way I would know to handle this is to adjust the query so you grab bite-size chunks, allowing you to page your requests. Normally I think people load a separate dataset and then merge the newly retrieved dataset with their already downloaded one. This is all independent of the grid. You can use grid events to try to let you know when you need to fetch another page, but it would be the Frmework actually getting the data and merging it into your dataset. And you would have to manage the paging criteria in some manner. I do not think there would be any advantage to using a virtual gridcontrol in this situation. You would still have to manage the external data some how.

Live Chat Icon For mobile
Up arrow icon