Hi
I am using file download control in my Edit Popup as given below;
But when i try to get the value from the control i am getting null value though i selected the desired file i want to download.
I am also not able to empty validation with traditional asp.net required field validator. But in normal form it works fine as desired.
So please let me know how to get and validate the value from filedownload control as soon as possible
-thanks
I am using file download control in my Edit Popup as given below;
<input type="file" id="file1" runat="server" name="file1" />
But when i try to get the value from the control i am getting null value though i selected the desired file i want to download.
string fileName = (e.Item.FindControl("file1") as HtmlInputFile).PostedFile.FileName;
I am also not able to empty validation with traditional asp.net required field validator. But in normal form it works fine as desired.
So please let me know how to get and validate the value from filedownload control as soon as possible
-thanks