there are two possibilities... each with a different difficulty degree. First (Difficult). Without doing a postback, you can invoke an ajax method when you click the button, and then call any other javascript code you need. Second (Easiest). Do postback, execute button's click event, and just before the end of the event add something like this: registerstartupscript("buttonclicked","/* your javascript code here */") then, when the page reaches the client again, this script will be executed. Two options, may be there's more but these are the ones I can think of. Hope this helps :). daniero