468,110 Members | 1,775 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,110 developers. It's quick & easy.

Custom sorting

Hi,
I've a requirement in which I want to use the custom sorting..
I mean I've a dropdown with sortable column names and when the user selects
the
particular column from dropdown , I need to sort the grid.

For it,Im trying to get the gridView.DataSource() to retrieve the datatable
attached to it (Ive earlier binded the gridview in page load in not postback
section ) , but gridView.DataSource() always returning null..
Im unable to resolve this..

When we enable the default sorting,in the the gridview_sorting,
gridView.DataSource hold the data...
But when I use it outward in any other control's event..
why its not showing the gridView.DataSource...

How does the default sorting work internally in the gridview...
Can anyone let me know how GridView's sorting happens...I would like to use
the same approach..for my custom sorting...to avoid re binding the data..

Sep 30 '08 #1
0 1027

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Marri Suliez | last post: by
reply views Thread by Chris Mayers | last post: by
1 post views Thread by melanieab | last post: by
reply views Thread by Roy | last post: by
4 posts views Thread by Ambica Jain | last post: by
reply views Thread by Kiran_Juikar | last post: by
2 posts views Thread by Aamir Ghanchi | last post: by
1 post views Thread by Solo | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.