View Single Post
 
Old August 2nd, 2007, 03:41 PM
preetham.sarojavenkatesh preetham.sarojavenkatesh is offline
Authorized User
 
Join Date: Jun 2007
Location: monroe, newjersey, USA.
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to preetham.sarojavenkatesh
Default

 Private Sub SetFocus(ByVal ctrl As System.Object)
        Dim focusScript As String = "<script language='javascript'>"& _"document.getElementById('" +ctrl.ClientID& _"').focus();</script>"
            RegisterStartupScript("FocusScript", focusScript)
    End Sub
-------------
just use this javascript -its d much simplest type...

preet