I my GridView in c# I need upload one file in EditItemTemplate
mode:
<asp:TemplateField HeaderText="File attachement">
<ItemTemplate>
<asp:HyperLink ID="attachement" runat="server" NavigateUrl='<%# Eval("attachement").ToString() %>'
ImageUrl='<%#(String.IsNullOrEmpty(Eval("attachement").ToString()) ? "/Images/cross-button.png" : "/Images/download.gif")%>'
Target="_blank" BorderStyle="None" ForeColor="Transparent" CssClass="ddl_Class_new">
</asp:HyperLink>
</ItemTemplate>
<EditItemTemplate>
<asp:FileUpload ID="attachement_edit" runat="server" CssClass="ddl_Class_new" BackColor="Orange" />
</asp:TemplateField>
The row update on GV and the file upload it worked, but If I need re-edit the same row I have problem because I don't see the uploaded file on first edit, but the re-edit it requires a new upload file.
It is possible in re-edit mode row in GV see the upload file on first edit ?
Can you help me?
Thank you in advance.