Client side script ASP.NET

H

henk

Hi,

How can i eassely add client side script in my code. I have a sort of
TAB control, that works through postbacks but i want the action taken on
the
client side. Thus when i click on a link a panel wil become visible or not
visible..


Thanks Henk
 
J

Jacob

All server controls have an Attributes property where you can set
clientside attributes. "onclick" would be a useful thing for you to
attach to your items.

Afterwards use the ClientscriptManager class (Page.ClientScript) to
register clientside scripts from the server.
 

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