virtual load custom -on-demand on webgrid 7

1 reply. Last post: January 27, 2012 2:20 AM by Yudi
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Steve ChauMember

I'm trying to  achieve loading 150 records of 300 on my webgrid.  I'm getting this error below. Please help!

ISDataSource 'ISDataSource1' Table [t_log_entry2] could not find a non-generic method 'SelectCount' that has parameters: startRowIndex, maximumRows, sortExpression.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: ISDataSource 'ISDataSource1' Table [t_log_entry2] could not find a non-generic method 'SelectCount' that has parameters: startRowIndex, maximumRows, sortExpression.

Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[InvalidOperationException: ISDataSource 'ISDataSource1' Table [t_log_entry2] could not find a non-generic method 'SelectCount' that has parameters: startRowIndex, maximumRows, sortExpression.]
   ISNet.WebUI.DataSource.ISDataSourceView.#oj(Type type, String methodName, IDictionary allParameters, DataSourceOperation operation) +1613
   ISNet.WebUI.DataSource.ISDataSourceView.#rj(IOrderedDictionary mergedParameters, DataSourceSelectArguments arguments, Boolean disposeInstance, Object& instance) +166
   ISNet.WebUI.DataSource.ISDataSourceView.ExecuteSelect(String selectMethod, DataSourceSelectArguments arguments) +2260
   ISNet.WebUI.DataSource.ISDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +83
   ISNet.WebUI.DataSource.ISDataSourceView.Select(DataSourceSelectArguments arguments) +23
   ISNet.WebUI.DataSource.ISDataSource.#pi(ISDataSourceTable table) +142
   ISNet.WebUI.DataSource.ISDataSource.#pi(String tableName) +50
   ISNet.WebUI.DataSource.ISDataSource.DoHierarchicalSelect(String tableName) +117
   ISNet.WebUI.DataSource.ISDataSource.DoSelect(Boolean retrieveHierarchical) +46
   ISNet.WebUI.WebGrid.WebGridDataSourceInfo.€Š() +148
   ISNet.WebUI.WebGrid.WebGridDataSourceInfo.PerformSelect() +78
   ISNet.WebUI.DataSourceInfo.DataBind() +41
   ISNet.WebUI.DataSourceInfo.EnsureDataBound() +46
   ISNet.WebUI.DataSourceInfo.set_RequiresDataBinding(Boolean value) +71
   ISNet.WebUI.WebGrid.WebGrid.‡(Boolean forceBind) +1956
   ISNet.WebUI.WebGrid.WebGrid. () +22
   ISNet.WebUI.WebGrid.WebGrid.OnInitializeDataSource(Object dataSource) +135
   ISNet.WebUI.WebGrid.WebGrid.OnLoad(EventArgs e) +183
   System.Web.UI.Control.LoadRecursive() +74
   System.Web.UI.Control.LoadRecursive() +146
   System.Web.UI.Control.LoadRecursive() +146
   System.Web.UI.Control.LoadRecursive() +146
   System.Web.UI.Control.LoadRecursive() +146
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207

________________________________________
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.225

All times are GMT -5. The time now is 2:21 AM.
Previous Next