Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Client side event for web control ?
Message
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00813791
Message ID:
00813809
Views:
6
>Is it possible to have a client side event for a web control?
>
>For example, if I have a asp:textbox and want to add a client side method ONKEYDOWN or ONKEYUP, how do you do it? I tried adding code onkeydown="myfunct()" but VS.NET says there is no attribute "onkeydown" of element "TextBox".
>
>Any help would be greatly appreciated.


I found the answer. Use Attribute collection.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform