Rank: Newbie Groups: Member
Joined: 6/17/2008 Posts: 2
|
I want to disable a toolbar item through javascript when a tabstrip item is clicked.
so far I have
function TabStripClick(e, eventInfo) { var toolbar = eo_GetObject('<%=ToolBar1.ClientID%>'); missing code .setDisabled(true) }
but I am missing the rest.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
It would be:
toolbar.getItem(index).setDisabled(true);
Or:
toolbar.getItems()[index].setDisabled(true);
Thanks
|