Client side script ASP.NET

  • Thread starter Thread starter henk
  • Start date Start date
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
 
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.
 
Back
Top