0

I need to create my own grid which will have customized paging and sorting.

<MY:Grid id="grid" runat="server">
<columns>
Columns....
</Columns>
</MY:Grid>

I need to create the above grid such that customized paging and sorting is available whereever the grid is applied for entire application.

NakedBrunch
  • 48,713
  • 13
  • 73
  • 98
Vara Prasad.M
  • 1,530
  • 9
  • 31
  • 55

1 Answers1

1

I have answered a similar question here How does pagination work in ASP.NET(Using VB.NET)?. You should not enable built-in pagination and sorting of asp.net grid.

Your main task is to figure out the delta of your data that you need to display on your grid. Put your logic related to sorting and pagination in DB. Having the logic in DB reduces the network usage. Once you have desired dataset with you, you bind it to your grid. HTH.

Community
  • 1
  • 1
Pradeep
  • 3,258
  • 1
  • 23
  • 36