Welcome Guest Search | Active Topics | Sign In | Register

Browse Button - Upload Control Options
cn
Posted: Thursday, October 16, 2008 4:18:42 PM
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
eo_support
Posted: Friday, October 17, 2008 5:05:15 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

Have you tried to set UploadButtonStyle to include a background image?

Thanks
cn
Posted: Friday, October 17, 2008 9:07:47 AM
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


eo_support
Posted: Friday, October 17, 2008 10:51:30 AM
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


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.