Sure! Just wire-up a client-side handler for the KeyPress event:<BR><BR>If Not IsPostBack Then<BR> TextBox1.Attributes.Add("onkeypress", "alert('You pressed: ' + event.keyCode) ;")<BR>End If<BR><BR><BR>Check out this reference for more information about the keyPress event:<BR><BR>http://msdn.microsoft.com/workshop/author/dhtml/reference/events/onkeypress.asp
I know this.. and it perfectly works.. I need some idea.. on how to do this..<BR> I need to change the Listbox.SelectedIndex based on the value entered in the textbox!!!!!<BR><BR>How to do that ??<BR><BR>Document . ... .Stuffs ..does not work !!! cos I am not able to access the properties of the list box !!!<BR><BR>Any thoughts... Lemme know..<BR>Regards<BR>Sri !
First you asked this:<BR><BR>> Any chances I can capture the KeyPress/Up/Down for <BR>> a Server TextBOX <BR><BR>Then I showed you how to do it, and now you are talking about SELECT lists.<BR><BR>What exactly is it that you are trying to do?