This is a migrated thread and some comments may be shown as answers.

Browse button focus css selector

1 Answer 58 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Nick
Top achievements
Rank 1
Nick asked on 25 Mar 2015, 02:37 PM
Hi Telerik

How can i change the color of browse button when clicked.

Please advise.

Thanks!

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 27 Mar 2015, 09:44 AM
Hi,

You could change the sprite image for Classic render mode. It would apply a different color, when the Select button is focused.

<telerik:RadAsyncUpload runat="server" ID="RadAsyncUpload1" RenderMode="Classic" />

You could use the sprite image from this help article and the following CSS:

html .RadUpload.RadAsyncUpload .ruButton.ruButtonFocus {
    background-image: url("asyncupload_sprite_image.png");
}

Thus, initially the RadAsyncUpload is gray, then yellow when hovered and finally blue, when clicked and not hovered. You could customize the sprite and apply other colors, if you would like.

Regards,
Dimitar
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
Tags
AsyncUpload
Asked by
Nick
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or