In the server-side code use attributes.add() on the server control in
question.
lblSomething.attributes.add("onClick","doSomething()")
And then you can hard code a client-script in the .aspx page called
"doSomething()"
[quoted text, click to view] "henk" <henkenboukje@versatel.nl> wrote in message
news:9d4b7$44bfd729$52adce4b$4603@news.versatel.net...
> 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