Posted on: 3/11/2015 8:10:53 PM | Views : 553

In my GridView I am trying to select a row, however; everytime i scroll down and select the row it just scrolls back to the top?
Protected Sub LocationGridView_RowCreated(sender As Object, e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles LocationGridView.RowCreated If e.Row.RowType = DataControlRowType.DataRow Then e.Row.Attributes.Add("onclick", Page.ClientScript.GetPostBackEventReference(sender, "Select$" & e.Row.RowIndex.ToString)) End If End Sub

Go to the complete details ...