[Mono-dev] Bug in System.Web.DataGrid control
Vladimir Krasnov
vladimirk at mainsoft.com
Wed Mar 22 03:57:44 EST 2006
Hello,
There is a problem in System.Web.DataGrid control in
CreateControlHierarchy method.
When paging is enabled for DataGrid control, there is no validation of
CurrentPageIndex,
it should be less than PageCount, if not, HttpException should be
thrown.
test case url:
/System_Web_UI_WebControls/DataGrid/DataGrid_CurrentPageIndex.aspx
There is another bug in PrepareControlHierarchy method, TableItemStyle
should be used
instead of Style when applying style to AlternatingItem, because using
style will not apply
table specific styles.
test case url:
/System_Web_UI_WebControls/DataGrid/DataGrid_AlternatingItemStyle.aspx
Please approve the attached patches.
if no one objects I will commit.
Vladimir Krasnov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DataGrid.cs.8.patch
Type: application/octet-stream
Size: 430 bytes
Desc: DataGrid.cs.8.patch
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060322/15357932/attachment.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DataGrid.cs.6.patch
Type: application/octet-stream
Size: 495 bytes
Desc: DataGrid.cs.6.patch
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060322/15357932/attachment-0001.obj
More information about the Mono-devel-list
mailing list