471,065 Members | 1,693 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,065 software developers and data experts.

Custom sorting

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
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 1098

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
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.