Thursday, October 23, 2008

EnableSortingAndPagingCallback Issue With LinqDataSource

Today, I found an issue with EnableSortingAndPagingCallback and LinqDataSource

I enable the EnableSortingAndPagingCallback on my GridView and using LinqDataSource.
Somehow after I tested, I always get error on deleting the row after move to the next page.

====
The solutions which work well is Use Update panel instead of EnableSortingAndPagingCallback.

I think it's better to use Update Panel rather then enableSortingAndPagingCallback, it some reason, it's faster and also include editing and deleting as well.

No comments: