Asp:FileUpload edit “No file selected” message

后端 未结 7 1103
半阙折子戏
半阙折子戏 2021-01-01 04:49

I just need to know if there\'s a way to change the message shown by the Asp:FileUpload when no file as been selected.

7条回答
  •  失恋的感觉
    2021-01-01 05:36

    If you visit your page source in your browser ASP.NET put an input element with type='file' instead of your FileUpload. You could simply use CSS to cover the text with something when the value attribute is empty.

提交回复
热议问题