How to locate the control on focus to the center of the page?
===

I have GridView with an edit button. When i click the edit button, a control in the selected row is focused by implementing the code below
  

      protected void grvItem_RowDataBound(object sender, GridViewRowEventArgs e)
        {
            //check for edit state
            if (e.Row.RowState == DataControlRowState.Edit || (e.Row.RowState == (DataControlRowState.Edit | DataControlRowState.Alternate)))
            {
                //find the textbox, and set focus:
                TextBox tbox = (TextBox)e.Row.FindControl("QTY");
                if (tbox != null) { tbox.Focus(); }
            }
    
        }

This code works fine. The row is focused. Now i want to place the focused row at the center of the webpage. Does anyone have an idea? Thanks in advance.