How to customize the attach file button in aspx

Asked

Viewed 366 times

0

I’m having trouble changing the text of the file attachment button. My button has the text like this:

inserir a descrição da imagem aqui

I wanted to change the text of "Search..." Could be how? I’m doing on Asp.net.

Follow the upload code:

<asp:Label ID="Label2" runat="server">Arquivo:</asp:Label>
<asp:FileUpload ID="fuArquivo" runat="server" Width="400px"/>

1 answer

0

This is not technically possible, for security reasons. If not, the user could be "tricked".

However, there are other methods to solve this, although these require working with pure HTML instead of server control. NET -see here to get an idea.

Source

Browser other questions tagged

You are not signed in. Login or sign up in order to post.