you could use something like this (note that i havent run the code)
<button data-dojo-type="dijit/form/ToggleButton" id='toggle1' data-dojo-props="iconClass:'dijitCheckBoxIcon', checked: true">
<button data-dojo-type="dijit/form/ToggleButton" id='toggle2' data-dojo-props="iconClass:'dijitCheckBoxIcon', checked: false">
and this javascript:
dojo.require('dojo.parser');
dojo.require('dojo.form.ToggleButton');
dojo.ready(function(){
dojo.parser.parse();
dojo.connect(dijit.byId('toggle1'),'onChange',function(){
dijit.byId('toggle2').set('checked',false);
//what you want to do
});
dojo.connect(dijit.byId('toggle1'),'onChange',function(){
dijit.byId('toggle2').set('checked',false);
//what you want to do
});
});
note that I havent checked the code, so it may need some modifications