Re: KeyPress Event
- From: "Noldis Chumacero" <nchumacero@xxxxxxxxxxx>
- Date: Thu, 2 Feb 2006 12:15:04 -0400
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" <DustyHackney@xxxxxxxxxxxxxxxxxxxxxxxxx> escribió en el
mensaje news:C4A9A98B-80B7-4EEB-B9BB-45634F712762@xxxxxxxxxxxxxxxx
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
.
- Prev by Date: Re: Deploying a site out in the WWW
- Next by Date: Re: Deploying a site out in the WWW
- Previous by thread: Deploying a site out in the WWW
- Next by thread: KeyPress Event
- Index(es):
Relevant Pages
|