Web ToolBar on a client

M

Mark Goldin

Is it possible to get a toolbar button that has been clicked on a client
side?
I'd like to add some JavaScript to it.

Thanks
 
L

Landi

You would like to see if the person is pressing a button on the IE toolbar
or toolbar that you have on your asp.net page?
As far as I know, you can't capture clicks that are done out of your own
page.
Please correct me if I am wrong.

--Landi
 
M

Mark Goldin

I'd like to capture the clicks on my toolbar..

Landi said:
You would like to see if the person is pressing a button on the IE toolbar
or toolbar that you have on your asp.net page?
As far as I know, you can't capture clicks that are done out of your own
page.
Please correct me if I am wrong.

--Landi
 
A

Alvin Bruney [MVP]

since the toolbar renders its text as html, you can embed script in the text
property from the designer in visual studio or inside the html page.
Consider clicking on the items collection of the toolbar control and
selecting the button you want to map your click event to. Add a similar line
to the text property:
<span onclick="myFunction()" style="color:brown;Border:eek:utset;">View
Rates</span>
 

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