Unable to change the Icon Text dynamically (kind of toggle button)

Aug 21, 2013 at 2:53 PM
Hi, I have a button that is used for Like/Unlike option. If user clicks once, it changes from Like to Unlike and vice-versa. I was able to change the ICONURIString property on command click to show Like/Unlike icon. But if i change the icon text from Like/Unlike, it is not recognizing the text change and the text comes as NULL.

I can see the OnIconURIStringChanged() event fired and updates the icon. but the similar TextChanged() event is not being fired.

can you help here?