I am trying to insert a control inside Gridview pager. The Control appears successfuly but it assign it under the previous control as you can see in the picture.

I am adding with the following code.
if (e.Row.RowType == DataControlRowType.Pager)
{
e.Row.Cells[0].Controls.Add(ImageButton1);
}
What i want is to assign the Save Answers button next to Previous button and not below. Any help pls ?
1 Answer