"
ASP.NET (snapshot 2017) Microsoft documentation and samples

[How Do I:] Add JavaScript Event Handlers to ASP.NET Server Controls

by Chris Pels

In this video Chris Pels will show how to interface JavaScript methods with ASP.NET server controls to provide client side functionality for the server controls. First, see how to add client event handlers declaratively by extending ASP.NET server controls with custom attributes. Next, see how to add attributes for mapping client methods to ASP.NET server controls programmatically which offers the advantage of being done at runtime. Finally, learn how to reference the ID of a server control, which is rendered dynamically by ASP.NET, in JavaScript code.

▶ Watch video (18 minutes)



Comments ( )
Link to this page: //www.vb-net.com/AspNet-DocAndSamples-2017/aspnet/web-forms/videos/how-do-i/how-do-i-add-javascript-event-handlers-to-aspnet-server-controls.htm
< THANKS ME>