After the user selects an image file from the browse editor, I'd like to display it in a button, much like the example in the Telerik documentation. I've tried different calls to the button's methods including: Update, Refresh, and Invalidate. Nothing has worked. What am I missing?
1.PrivateSubradLogoFile_ValueChanged(sender AsObject, e AsEventArgs) HandlesradLogoFile.ValueChanged
I see no way to remove your own posts, so not to waste anyone's time, but I the issue was with Visual Studio and not the code. In the end, I didn't need to refresh the control (one of my desperate attempts to get it to work).
I actually only needed one line of code in the validating event to set the button's image to the browseEditor's value (line 2 from the main post): btnLogoImage.Image = System.Drawing.Image.FromFile(radLogoFile.Value)
Dess | Tech Support Engineer, Principal
answered on 20 Sep 2017, 10:37 AM
Thank you for writing.
I am glad that the problem you were facing is now resolved. Should you have further questions I would be glad to help.