What event fires after the sort is done? Unfortunately, it seems that when the CellClick event fires, the Tag property is not yet set.
> The CellClick event fires before the sort is done. Youwould check teh row index to make sure the click is on a header cell.
>
> The sort direction is stored in the header's cells style.Tag property. Here are code snippets that show how you can get at it.
>
> private void button1_Click(object sender, System.EventArgs e)
> {
> for(int i = 1; i <= this.gridDataBoundGrid1.Model.ColCount; ++i)
> if(this.gridDataBoundGrid1[0,i].Tag is ListSortDirection)
> {
> MessageBox.Show((i.ToString() + " " + this.gridDataBoundGrid1[0,i].Tag.ToString());
> }
> }
> }
>