Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
110
Load on Demand with EnableViewState = false
posted

Is it possible to use the load on demand without the viewstate ? I saw your samples with autofilter always has viewstate disable (which obviously has much better performance), but I need to combine load on demand and autofilter.

I tried but the control load always the same data ...

Parents
No Data
Reply
  • 24671
    posted

    Hi,

    Both Load on demand and server-side filtering can be used with ViewState enabled or disabled - so there are a number of combinations here - all of them should work fine. The only difference is that when view state is disabled, you will need to data bind every time on the postback. How do you data bind the control - using data source object, such as dataset/datatable, or directly to data source control , i..e SqlDataSource ? 

     

    Thanks,

    Angel 

Children
No Data