cesark
Programmer
- Dec 20, 2003
- 621
How can I disable an HtmlInputFile Control so that is not posted back when user submit the form?
I tried this:
But it doesn’ t work, the file is posted back and the server ‘waits’ until the file added is totally uploaded. How can I ignore the control in the ‘on_Button2_Click’ subroutine?
Thanks
I tried this:
Code:
Sub on_Button2_Click(Sender As Object, E As EventArgs)
image_path_QA.Disabled = True
...
End Sub
...
<td><input type="file" id="image_path_QA" runat="server" size="15" /></td>
...
But it doesn’ t work, the file is posted back and the server ‘waits’ until the file added is totally uploaded. How can I ignore the control in the ‘on_Button2_Click’ subroutine?
Thanks