Setting Focus whenEditing a Gridview

Discussion in 'ASP.NET / ASP.NET Core' started by danfeather, Apr 9, 2009.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. I have a gridview with scrollbars, and when i click edit on a particular record, it always seems to go to the top of the grid and not the record you are selecting.

    Is there a way to set focus on this?

    I've tried several methods but with not luck i.e.
    e.Row.FindControl(
    "label5").Focus();

    Thanks
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page