Dave Balzer

Confessions of a Webgypsy

<December 2008>
SuMoTuWeThFrSa
30123456
78910111213
14151617181920
21222324252627
28293031123
45678910


Navigation

Blog Roll

Subscriptions

Post Categories



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 on Tuesday, August 01, 2006 8:12 AM by dbalzer





Powered by Dot Net Junkies, by Telligent Systems