Articles in this section
Category / Section

Customizing Button Text in Blazor File Upload Component

1 min read

To customize the text for the Browse, Upload, and Clear buttons in the Blazor File Upload component, you can utilize the UploaderButtons property of the File Upload component. This allows for a more tailored user experience by replacing the default button labels with custom text.

Here is a code snippet demonstrating how to set custom text for the Browse, Upload, and Clear buttons:

<SfUploader AutoUpload="false">
    <UploaderButtons Browse="Custom Browse Text" Upload="Custom Upload Text" Clear="Custom Clear Text"></UploaderButtons>
</SfUploader>

In this example, you can replace Custom Browse Text, Custom Upload Text, and Custom Clear Text with your desired button labels.

image.png

For more details, you can refer to the UploaderButtons property documentation.

You can also find a sample implementation here.

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied