[Mono-dev] GridView patch - hide pager row

Dumitru Ban dban at dako.ro
Fri Jun 22 08:33:36 EDT 2007


Hi,

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,
Dumi.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070622/07abadcb/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GridView.patch
Type: application/octet-stream
Size: 1342 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070622/07abadcb/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GridView.patch
Type: application/octet-stream
Size: 1342 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070622/07abadcb/attachment-0001.obj 


More information about the Mono-devel-list mailing list