Hi,
I would like to change buttons PrimaryIcon at client side. I have used set_iconData(s) but no luck. It sets icon data (can get back correct values with get_iconData) but nothing changed at browser window. I have used repaint function and nothing changed either. Any thoughts?
TIA
PS:Here is my code;
I would like to change buttons PrimaryIcon at client side. I have used set_iconData(s) but no luck. It sets icon data (can get back correct values with get_iconData) but nothing changed at browser window. I have used repaint function and nothing changed either. Any thoughts?
TIA
PS:Here is my code;
var
s = {
"primaryIconUrl"
:
"../images/icons/EnableConvex24.png"
,
"primaryHeight"
:
"24px"
,
"primaryWidth"
:
"24px"
};
btnActivate.set_iconData(s);
btnActivate.repaint();