If txtContactName = "" Then
ScriptManager.RegisterStartupScript(Me, Me.[GetType](), "showalert", "alert('You Must Indicate Student Name');window.location ='" + Request.Url.AbsoluteUri + "';", True)
TryCast(GridView1.FooterRow.FindControl("FName"), TextBox).Focus()
Exit Sub
Please help when i click ok the foucus disappears please help