Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 21st, 2005, 01:28 PM
Registered User
 
Join Date: Dec 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Sorting not working correct

Hey,

I am trying to do the same as described here (http://www.wintellect.com/forum/topic.asp?TOPIC_ID=709). The only difference is that I have extended the datagrid with my coponent. Now whenever I do a sort, then the it basically works. The only problem is that lets say I order column 0, then the link header looks like this:

javascript:__doPostBack('AADataGridStores$_ctl1$_c tl0','')

And it sorts according the column 0. After the postback has occured this header changes to:

javascript:__doPostBack('AADataGridStores$_ctl1$_c tl1','')

which is column 1 and wrong. I want to sort by col0. Any idea what is going on here?








Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it correct like this ? tunisiano C# 1 March 7th, 2007 12:22 PM
Correct code stefanocinfo BOOK: Professional PHP 5 ISBN: 978-0-7645-7282-1 2 October 4th, 2006 03:06 AM
Datagrid sorting by non alphabetical sorting? LLAndy VS.NET 2002/2003 1 July 15th, 2004 01:20 AM
Sorting Is not working alyeng2000 ASP.NET 1.0 and 1.1 Basics 3 March 2nd, 2004 06:22 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.