about client-side events

Jun 16, 2009 at 2:16 AM

Hi:

i want to use toolbar client-side event:
==============================================
OnClientButtonClick="toolbar_buttonClicked"


===========================================

but it con't work??? help me !!

thanks!!

best regards!

janwa




????????????????????????
Jan 20, 2010 at 8:02 PM
Edited Jan 20, 2010 at 8:07 PM

I believe that is a bug.  For now, you can use the "add_buttonClicked" in your client script to wire the event. Something like this:

var toolbar = $find(ID);
toolbar.add_buttonClicked(handler);

function handler(sender, args) {

    // add custom code here
}

Jun 22, 2011 at 2:40 AM

I checked in the code that fixes the problem. Get latest from the Source Control tab.