on 09-12-2011 3:28 PM
Hi Experts,
I want to view an image on a button action without creating a new view or window.
I just need to display the image.
Thanks,
R Sahu
hii,
enter the image with the help of mime,initially make the image as invisible and make it visible on action.
I think it should help
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rabi,
Add Context Attribute "SOURCE_IMG" with type String.
Add Image UI "img_id" in layout and bind its source with this context attribute.
on any method where you want to change/show image dynamically, put this code :
here url can be path to image on local or any url-path for web image.
call method wd_context->set_attribute
EXPORTING
name = 'SOURCE_IMG'
value = url .
I hope this is what you are looking for.
Thank you
Meet Vajaria
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you all for valuable replies.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi charanjasti ,
When I click on the action I want the image to be like in a browser screen only with a close option in that browser.
Thanks,
RK Sahu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.