I'm using following code try to achieve my work but it doesn't work.
ASP Code:
Dim descTB As TextBox Dim strScript As String descTB = .Rows(.EditIndex).Cells(2).FindControl("txtdesc") descTB.Focus() strScript = "<script language=""JavaScript"">" & vbCrLf & _ vbTab & descTB.ID & ".Select();" & _ vbCrLf & "<" & "/script>" Page.ClientScript.RegisterStartupScript(GetType(String), "HighLightText", strScript)
What is my problem ?
Can anyone help me to figure out.
Thanks




Reply With Quote