Retain value in fileupload control

后端 未结 2 631
余生分开走
余生分开走 2020-12-07 04:38

I am writing a file upload application. So it contains a keyname in textbox and a fileupload control. A save button is used to save the keyname and the file. My issue is whe

2条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-07 05:21

    You can't retain value in FileUpload control. This is because of security reasons. you can use RequiredFieldValidator for keyname textbox.

提交回复
热议问题