Webcontrols toolbar question

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.
 
A

Alvin Bruney

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:eek:utset;">Save</span>
it's downhill from there.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top