Last post Aug 12, 2008 08:41 AM by ManjunathMR
Aug 06, 2008 03:29 AM|ManjunathMR|LINK
I want to add sorting and paging features to the custom gridcontrol(uses the asp.net datagrid) which has an object as a datasource from a webservice. How can I accomplish this.
Thanks in advance,
Manjunath M. R.
Aug 06, 2008 03:59 AM|DavidKiff|LINK
If its an array of entities then you could use my tutorial for the sorting... if not then you could adapt the code?
Aug 06, 2008 05:14 AM|ManjunathMR|LINK
Does the same work for a datagrid.(Because the link which u gave deals with gridview)
Aug 10, 2008 11:07 PM|Nai-Dong Jin - MSFT|LINK
From your description, it seems that you want to create a Bi-Directional Sortable custom DataGrids, right?
If so, you may try the following articles which explains a solution on how to achieve that.
Aug 12, 2008 05:32 AM|Nai-Dong Jin - MSFT|LINK
Currently I am marking this thread as “Answered”, if my reply does not help you resolve the problem, please feel free to unmark it. Please also provide the following information and we will be glad to follow up:
The error message after you try the solution above.
Aug 12, 2008 08:41 AM|ManjunathMR|LINK
Thanks for the help.
The link u gave works fine for a datagrid that has a database as a source. That doesn't work for an object that is dynamically created(like a datatable) and binded dynamically. Basically ,the website has its own custom grid control which makes use of the
datagrid, dynamically creates a datatable and binds it to the datagrid. Now the task is to add sorting capability to the custom grid control.
Do you know any references for the above situation. If yes, then please do reply.