Can set value in HtmlInputFile
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
I have HtmlInputFile control on asp.net page. It will take the value through browse button but it will not take the user value at the time of asp.net form load. For example Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'Put user code to initialize the page here myFile.Value = "d:\myfile\test.txt" End Sub myFile is name of HtmlInputFile control. When I execute this page it generates the error like this The value property on HtmlInputFile is not settable. Can anybodu suggest how to set value of HtmlInputFile control. Thanks & Regards, Kumar Prabhakar
abc