|
Rank: Advanced Member Groups: Member
Joined: 8/31/2008 Posts: 33
|
Is it possible to use an image for the browse button on the AJAX uploader control?
Thanks, cn
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
Have you tried to set UploadButtonStyle to include a background image?
Thanks
|
|
Rank: Advanced Member Groups: Member
Joined: 8/31/2008 Posts: 33
|
This solution worked to a certain extent but didn't solve the problem completely. I used CSS to remove the border on the button and set the background image. This all displayed correctly but left me with the button text. If I set the button text to "" then I end up wth a clickable area on the button that is about 20px by 5px when the button is 105px by 40px. I tried re-adding the button text and setting the color to white which resolved the clickable area issue but my button has a gradient so the white text shows against the background image. It's possible to remove the gradient from the button image but this will force me to rework all of my buttons if I want a consistant design. Any other ideas?
Thanks, cn
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
Most likely you will have to rework your images. Uploader allows you to provide a custom .css style to the button and that's pretty much it. So you basically do whatever you will be doing to a regular button.
Thanks
|
|