views:

27

answers:

1

Hi, I would like to add an image inside a button,but this image shows the current view of one of my views.

If anyone knows how to do. Thanks a lot.

A: 

hey, Try this one

<button onClick="window.location='URL' " style="background-color:#FFFFFF"><img src="IMAGE_URL"></button>
bala3569
Thanks,but i've no url for the source ,because i don't copy the view on local. I'm able to get the view,but i can't freeze the component inside the button,and resize it to my current size of my button
Doncho
set height and width for image and put </img>
bala3569
This can't work,cause i've no source for the image.
Doncho
hey do you have any image
bala3569
Yes i have some images,but,i want to display not an image,but the visual of a view in my app.i'm stuck when i'm trying to bind the visual property to the view i wanted.
Doncho