can we maintain value of file upload control in case of postback?
-
hi when i click on submit button, page is postback and value of file upload control is lost. can i maintain this value. i need value in text area of file upload control. i got the value using hidden field but its not display in file upload control. is their any way(s) is find out of this solution?
Regards Keyur Satyadev
-
hi when i click on submit button, page is postback and value of file upload control is lost. can i maintain this value. i need value in text area of file upload control. i got the value using hidden field but its not display in file upload control. is their any way(s) is find out of this solution?
Regards Keyur Satyadev
-
I think U Can Use Ajax update panel without updating value of File Upload Control or store it in session or query string . And u Can Retrieve Back.
If It Helps Click It as Answer
in update panel file upload control will not work properly. i check it.
Regards Keyur Satyadev
-
I think U Can Use Ajax update panel without updating value of File Upload Control or store it in session or query string . And u Can Retrieve Back.
If It Helps Click It as Answer
Do you thing, you will able to get the full file path from FileUplaod Control ? ;)
Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.
-
Do you thing, you will able to get the full file path from FileUplaod Control ? ;)
Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.
-
in update panel file upload control will not work properly. i check it.
Regards Keyur Satyadev
-
Which value you want to store on session ? :)
Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.
-
hi when i click on submit button, page is postback and value of file upload control is lost. can i maintain this value. i need value in text area of file upload control. i got the value using hidden field but its not display in file upload control. is their any way(s) is find out of this solution?
Regards Keyur Satyadev
Hi Keyur, This can be fixed using session object. Please review my article this will sort out the problem in minutes. http://www.codeproject.com/Tips/101834/How-to-Maintain-FileUpload-Control-s-State-after-P.aspx Thanks, Chirantan
Chirantan Upadhyay Sr.Software Engineer, chirantan_upadhyay@yahoo.com Infovision Solutions Gurgaon, New Delhi
modified on Monday, August 16, 2010 4:51 AM