Hi.
I have a buttonselect in a toolbar with items inside and i need to get the userdata of this items.
The userdata of the items in the toolbar are working fine, the problem is with the items that are inside a buttonselect, which returns a null value.
Alexandra, thanks for the answer, but this solution doesn’t resolve the problem.
The toolbar.getuserdata id must be the buttonselect id instead of item id.
Example:
var k1 = toolbar.getUserData(“M1”,“M11_K”);
var k2 = toolbar.getUserData(“M1”,“M12_K”);
Is there a way to get the buttonselect id in the event click?
function firetoolbaraction(Id)
{
//here i need the buttonselect id instead of item id
if ((otoolbar.getUserData(Id,“url”))!="")
{
alert(otoolbar.getUserData(Id,“url”));
};