Hi,
I'm going to share my issue experience here..
Issue:
While a time ago,
i've ended up with one requirement "need to set image to item field in controller"
i searched in google and tried so many methods for this but not working.
After lot of research finally i found the work around.
Solution:
imageField.SetAttribute("Src", imageItem.MediaPath);
Src - Field name
imageItem.MediaPath - your image item
Thanks :)
No comments:
Post a Comment