c# - File Upload in each row of gridview -
I have a file upload control inside a gridview item template such as
& gt; ; Item Theme & gt; & Lt; Asp: FileUpload id = "flUpload" runat = "server" /> & Lt; / ItemTemplate & gt; And I have a button outside the grid view that uploads and I want to upload all the files in grid view one by one. But my problem is that when I select some file in the file upload control, the upload button does not fire the click event. I know that there is no way, the click will work.
Three templates columns in a gridview. Whether you have kept the FU in the constant or displayed the 'item' template. Move it over to edit or someone else (not on computer to see names). If your grid is inside an 'update panel' then FU control is not compatible with it.
You should also consider creating a description view and put it there, when users select that row, then edit the upload whatever you need. Forget about my updated panel item, I saw that you already answered it.
Comments
Post a Comment