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.

Monday, October 13, 2008

SWF Library to convert image

I just find library to convert SWF to image. it's called SWFToImage.dll from bytescout.
but it is activeX. which we don't want to use.

and I find others called swfdotnet-1.0 but unfortunately, it only support swf version 7.

Any other library for this ?

Thanks.

LINQ will arround the DateTime.MaxValue

Today, I just fixed the bugs which is interesting.

if we use linq to filter data with this DateTime.MaxValue.TimeOfDay.ToString();-
which will be appear show the time 23:59:59.9999999

Linq will add up to the next day.

so the solution never use the MaxValue.TimeOfDay.. just use simple string 23:59:59 and it's enough.

(o,o)