DataGrid Pager ColSpan rendered incorrectly when there are AutoGenerated columns

2006年のバグに今こうして出会っている事実を噛みしめている。
しかも「状態: 終了 解決策: 修正しない」である。

DataGrid Pager ColSpan rendered incorrectly when there are AutoGenerated columns | Microsoft Connect

The Pager cell ColumnSpan property is initialized correctly but overwritten during rendering.

workaround:

protected void DataGrid1_ItemCreated(object sender, DataGridItemEventArgs e)
{
    if (e.Item.ItemType == ListItemType.Pager)
    {
        if (e.Item.Cells.Count > 0)
        {
            int columnSpan = e.Item.Cells[0].ColumnSpan;
            e.Item.Cells[0].Attributes.Add("colspan", columnSpan.ToString());
        }
    }
}