Hi, I'm trying to persist a full local file path selected in a fileupload control as it doesn't persist (I understand why) across postbacks. I am using a req field validator. If the page posts back for some reason (there are valid scenarios) I don't want the user to have to choose the same file over again.
When the page postsback, I want to execute a client-side javascript BEFORE the client-side page validation occurs. If my hidden field used to persist the file path is populated, I want to disable the required field validator on the fileupload control. I looked to see if I could use the req field validator on the hidden field but it doesn't seem as if I can. At this point it seems the validation occurs before my script is executed client-side. I know this sounds messy, any other suggested approaches are welcome. Any hints on how to do this?
Thanks