User Profile & Activity

Brian Baker Member
Posted: August 19, 2010 1:17 PM

Glenn,

 

If I do that in the InitializeDataSource event handler, then I also have to add this to my PrepareDataBinding handler:

   If (Not IsPostBack) Then
            WebGrid1.RetrieveStructure()
   End If

Doing that, however, causes the following error (on the RetrieveStructure line):

  [NullReferenceException: Object reference not set to an instance of an object.]
   ISNet.WebUI.WebGrid.WebGrid.RetrieveStructure() +711

Brian

Posted: August 17, 2010 4:24 PM

What if we can't use a DataTable?  We have a WebGrid that uses an objectdatasource to retrieve about 90000 records.  GetCacheDataSource returns nothing, and our project must use an objectdatasource.

Is there any way to get the filtered rows, server-side?

 

Thanks!

All times are GMT -5. The time now is 7:28 PM.
Previous Next