Pagingloadmode="VirtualLoadmode and Custom Virtual load mode

12 replies. Last post: November 12, 2013 9:51 AM by Madhavan G
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Madhavan GMember

Hi All,

We are trying to use Custom VirtualLoadMode for the webgrid as we are having performance issues

with large number of records like 20000.

We are using initialize data source event for binding data to the webgrid.

we have to use our api for populating datatable.Can you please provide us an sample for implementing custom virtualloadmode and Pagingloadmode="VirtualLoadmode".all the existing samples are using adapters. we wnat sample with plain APis.

void WebGrid1_InitializeDataSource(object sender, ISNet.WebUI.WebGrid.DataSourceEventArgs e)
    {
        DataTable itemsDataTable = null;
        itemsDataTable = _ListItems.GetRecords(); //Api for getting datatable
        e.DataSource = itemsDataTable;
    }

 

Regards.

Madhavan 

All times are GMT -5. The time now is 3:20 PM.
Previous Next