How to get back input text value after refresh

bridgeway04

New member
Joined
Aug 20, 2010
Messages
3
Programming Experience
1-3
I have an upload form with two Check Boxes on it, that when clicked enable two text boxes. This is working fine but the problem that I am having is that when the page refreshes after the click event the upload file input field at the top of the form gets cleared.

How can I save the input field so that it is saved after a page refresh?

Thanks,

Brad
 
Could I use something like this to save the input value?
VB.NET:
Public Class UploadPCL
    Inherits System.Web.UI.WebControls.HtmlInputFile
    
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)
        
    End Sub
    
    Protected Sub ChkHaltPage_Click(ByVal sender As Object, ByVal e As EventArgs)
        UploadPCL.SaveAs(UploadPCL.FileName)
    End Sub
End Class
 
Last edited by a moderator:
Back
Top