I'm using following code try to achieve my work but it doesn't work.



ASP Code:
  1. Dim descTB As TextBox
  2.                 Dim strScript As String
  3.                 descTB = .Rows(.EditIndex).Cells(2).FindControl("txtdesc")
  4.                 descTB.Focus()
  5.  
  6. strScript = "<script language=""JavaScript"">" & vbCrLf & _
  7.                              vbTab & descTB.ID & ".Select();" & _
  8.                              vbCrLf & "<" & "/script>"
  9.                 Page.ClientScript.RegisterStartupScript(GetType(String), "HighLightText", strScript)

What is my problem ?
Can anyone help me to figure out.

Thanks