468,249 Members | 1,506 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

custom sorting in gridview

Hi
I want to implment cusotm sorting in gridview...
Ive a dropdown box on my page where ive all the fields(columsn) to be sorted..
whenever hte user selects the value in the dropdown , the gridview should be
sorted...

As of now, whenever user selects a value in the dropdown , Im rebinding
the grid with sorting applied....
but this is hittng the page performance...

so Im thinking to get the datasource associated with the girdview and then
sort the data...
Ive used gridview,DataSource property to retrieve the datatable associated
with it..
but its always returning null.

can some one help me out with this issue.
why is the DataSource property returnign null though the data is present...
How the .net has implemented the default sorting without reloading..??.
Oct 21 '08 #1
0 819

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by samb | last post: by
4 posts views Thread by =?Utf-8?B?R2VyaGFyZA==?= | last post: by
7 posts views Thread by =?Utf-8?B?SmVmZiBCZWVt?= | last post: by
2 posts views Thread by Aamir Ghanchi | last post: by
1 post views Thread by mmorrison93 | last post: by
reply views Thread by =?Utf-8?B?QVZM?= | last post: by
1 post views Thread by dorandoran | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by kermitthefrogpy | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.