Avatar of Vadim2004
Flag for United States of America

asked on 

FileUpload and GridView in Update panel

Hi experts I have following scenario:
 GridView inside Update panel
 FileUpload control two texts and submit button out of Update panel.
There two ways to gather data -
 by using submit button - it works fine - file along with data from two texts gets saved in db.
Second- by clicking on GridView row - data from row and FileUpload
Should be saved to db, however, in second scenario FileUpload.HasFile returns false.
In both cases page should be closed and one of parameters should be returned to parent page.
Please advise.

Visual Basic.NET

Avatar of undefined
Last Comment

8/22/2022 - Mon