Dave Balzer

Confessions of a Webgypsy

<January 2009>
SuMoTuWeThFrSa
28293031123
45678910
11121314151617
18192021222324
25262728293031
1234567


Navigation

Blog Roll

Subscriptions

Post Categories



Tuesday, August 01, 2006 - Posts

EnableSortingAndPagingCallbacks = Strange Behavior in GridView

Today I was called in to look at an issue where a GridView that had a button column was exhibiting some strange behaviors.  Everything was fine until you sorted or paged the GridView.  After that, the button columns no longer referred to the correct rows.  The rows sorted, but the buttons did not.  Short answer was that we found someone had inadvertantly set EnableSortingAndPagingCallbacks to True on the GridView.  Setting this to false fixed the problem.  Has anyone else experienced this?  Why is it causing the button columns not to sort correctly?

 

[This post was originally posted at my DevAuthority.com blog. http://www.devauthority.com/blogs/dbalzer/default.aspx Go to http://www.devauthority.com to get your own .Net blog.]

posted Tuesday, August 01, 2006 8:12 AM by dbalzer with 0 Comments




Powered by Dot Net Junkies, by Telligent Systems