Web Object and JavaScript...

A

A. Nonymous

Is there some way to get a web object (i.e. a button, <asp:Button />) to not only respond to ASP.NET procedure but run a JavaScript function at the same time responding to the same event (i.e. OnClick)?

TIA...
 
E

Eliyahu Goldin

You can always attach client event handlers with Attributes property. Depending on the component you might have to call client-side __doPostBack function.

Eliyahu

Is there some way to get a web object (i.e. a button, <asp:Button />) to not only respond to ASP.NET procedure but run a JavaScript function at the same time responding to the same event (i.e. OnClick)?

TIA...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top