Web ToolBar on a client

  • Thread starter Thread starter Mark Goldin
  • Start date Start date
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
 
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
 
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
 
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:outset;">View
Rates</span>
 
Back
Top