Dusty,
If you need to put an event in your controls you can make it on the
construction of the webform and adding the properties
e.i.
If Not Me.Page.IsPostBack Then
Me.txtLinea.Attributes.Add("OnKeyPress", "javascript
:return
handleEnter(this, event, 1)")
Me.txtForma.Attributes.Add("OnKeyPress", "javascript
:return
handleEnter(this, event, 1)")
End If
--
Ing. Noldis Chumacero Chávez
Departamento de Sistemas
AeroSur S.A.
Santa Cruz de la Sierra, Bolivia
Telf. 3364446(236) 77074919
"Dusty Hackney" <Du**********@discussions.microsoft.com> escribió en el
mensaje news:C4**********************************@microsof t.com...
Hello,
I am programming aspx pages in VB ASP.NET. When using Windows forms, I am
able to use an event called KeyPress. However, I haven't been able to get
this to work in a Web Form. What do I need to do to be able to use the
KeyPress Event in a Web Form?
Thanks,
Dusty Hackney