Webcontrols toolbar question

  • Thread starter Thread starter John
  • Start date Start date
J

John

Hi all,

My app is using the toolbar webcontrol. Adding to and removing from the
toolbar is fine but I want to add something like an 'onclick' event to a
particular toolbaritem I'm adding to the toolbar so that it invokes a
javascript function but only for that image. How do I do this? I see that
the toolbar item does not have an 'attributes' attribute.

Regards
John.
 
i've hacked this.
in the designer, click on the items collection and find the toolbar item in
question replace the text property with this beauty:
<span onclick="SaveToDataBase()";
style="color:blue;Border:outset;">Save</span>
it's downhill from there.
 
Back
Top