[Mono-dev] GridView patch - hide pager row
igorz at mainsoft.com
Sun Jun 24 04:07:17 EDT 2007
I commited this patch in r80611.
From: mono-devel-list-bounces at lists.ximian.com [mailto:mono-devel-list-bounces at lists.ximian.com] On Behalf Of Dumitru Ban
Sent: Friday, June 22, 2007 3:34 PM
To: mono-devel-list at lists.ximian.com
Subject: [Mono-dev] GridView patch - hide pager row
When the AllowPaging is true the GridView control should automatically hide the pager row when the data source contains fewer than 2 records. With the existing code, if the PagerSettings.Position is set to PagerPosition.TopAndBottom, the pager row is alwasy shown, even if the AllowPaging is set to false or if there are fewer than 2 records.
The attached patched fixes the problem. Please review and apply it.
Thanks & best regards,
More information about the Mono-devel-list