I am using a asp fileupload control.
I want to read the full file path from the control
But iam unable to read the value from the fileupload control.
I am geting a empty value.
Following is the control and code
<asp:FileUpload ID="FileNameControl" runat="server" />
Actually i am using this for enterprise portal in Microsoft Dynamics Axapta 2012
i am getting a empty value from this
i have tried method FileNameControl.PostedFile.FileName.ToString();
But if i am using this iam getting "object reference not set to an instance" error
Can any one help me in this if iam missing anything
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)