GridView Sort Column Arrow Performance
I see code like the following a lot: Copy Text Copied Use a different Browser protected void GridView1_RowCreated(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.Header) if (String.Empty != this.GridView1.SortExpression) AddSortImage(e.Row); } The problem with this is that it fires for each row in the GridView, slowing performance. A better way […]
GridView Sort Column Arrow Performance Read More »
