This is a migrated thread and some comments may be shown as answers.
Toolbar Button Selected State
1 Answer 19 Views
This is a migrated thread and some comments may be shown as answers.
Bob
Top achievements
Rank 1
Bob asked on 20 Sep 2010, 06:38 PM
Hello,

I am building  toolbar and adding toolbar buttons at runtime.  My toolbar is created in the Page_Init and the buttons are added in Page_Load.  I have an event handler that handles events when any of the buttons in the toolbar are clicked.  Everything works but I would very much like to be able to set the appearance of the toolbar buttons when they are clicked to match how they look when a mouseover occurs.  Basically, I need an indication to the user that the item is clicked.  Does anyone know if this is possible?  I have checked the support area and I did not see documentation for what I would think would be a commonly requested item.

Thanks,
Bob

1 Answer, 1 is accepted

Sort by
0
Bob
Top achievements
Rank 1
answered on 20 Sep 2010, 06:51 PM
I found the solution.  In order to get the desired behavior, i needed to set the

AllowSelfUnCheck and 

 

CheckOnClick properties.

 

 

 

 

 

Asked by
Bob
Top achievements
Rank 1
Answers by
Bob
Top achievements
Rank 1
Share this question
or