In VS 2005 A file upload control is there.., In this contrl Text box and browse buttons are in corporated.
Que- when we browse a file then , in text box path of the file is shown. but after clicking on upload button , path is not visible.
which property should be used to make path visible and in disabled mode after upload click.
This is the code snippet of aspx page:
Expand|Select|Wrap|Line Numbers
- <td class="TdText" colspan="3" >
- <asp:FileUpload ID="FileUpload1" runat="server" />
- <asp:Button ID="btnUpload" runat="server" Text="Upload File" cssClass = "Button1" OnClick="btnUpload_Click"/>
- <asp:Label ID="lblNote" runat="server" CssClass="Note1" Text ="Note:Allowed file extension:.png,.gif,.jpeg,jpg,.txt,.doc,.xls" ></asp:Label>
- </td>
Please tell me the solution