Hello,
I would like to implement some kind of lazy loading in RadGrid.
Let's say we have page with collapsed panels (via jQuery) in page. Every panel contains server generated user control - mostly grids. Current behavior is that when page loads, all grids loads data and renders everything. We need to collapse all panels and force grids to set data sources on server side (as in current state), but do NOT databind.
We want to implement calling databind() from javascript when client expands panel.
I found on web that only way how to force grid not to databind is set visible=false; But I don't think this is the best way, because control is not rendered and there is no way how to set visibility from javascript and call databind, or not?
Is there any way how to do it? Some kind of disable auto databind?
Regards
René
I would like to implement some kind of lazy loading in RadGrid.
Let's say we have page with collapsed panels (via jQuery) in page. Every panel contains server generated user control - mostly grids. Current behavior is that when page loads, all grids loads data and renders everything. We need to collapse all panels and force grids to set data sources on server side (as in current state), but do NOT databind.
We want to implement calling databind() from javascript when client expands panel.
I found on web that only way how to force grid not to databind is set visible=false; But I don't think this is the best way, because control is not rendered and there is no way how to set visibility from javascript and call databind, or not?
Is there any way how to do it? Some kind of disable auto databind?
Regards
René