Hello All,
I think this is a simple question, but I've already searched and I can´t find nothing.
Code:Private Sub txtSearch_GotFocus() If txtSearch <> "" Then SendKeys "{END}" End If End SubI want to do something like this in my asp.net page Bu I just can't do it.Code:Private Sub txtSearch_Key_Press(KeyAscii As Integer) If KeyAscii = 13 Then cmdSearch_Click end if End Sub
When my txtSearch got focus, select it's Text.
And when I press 'Enter', it clicks the cmdSearch Button.
Help please.![]()




Reply With Quote