This question is locked. New answers and comments are not allowed.
Hi!
Just updated to RadControls Q1 2007 and now I can't remove an image from a RadButtonElement.
I have a RadPanelBarGroupElement with two RadButtonElements. When I click on a RadButtonElement I wan't to set an image on this element and clear it from the other. Setting the Image property to null hasn't any effect. The image is still shown on the element. This worked fine in Q4 2006.
Here is my code:
How can I remove an image from a RadButtonElement?
Thanks!
Just updated to RadControls Q1 2007 and now I can't remove an image from a RadButtonElement.
I have a RadPanelBarGroupElement with two RadButtonElements. When I click on a RadButtonElement I wan't to set an image on this element and clear it from the other. Setting the Image property to null hasn't any effect. The image is still shown on the element. This worked fine in Q4 2006.
Here is my code:
private void radButtonElement1_Click(object sender, EventArgs e) |
{ |
radButtonElement1.Image = Resources.MyImage; |
radButtonElement2.Image = null; |
} |
private void radButtonElement2_Click(object sender, EventArgs e) |
{ |
radButtonElement2.Image = Resources.MyImage; |
radButtonElement1.Image = null; |
} |
How can I remove an image from a RadButtonElement?
Thanks!