Thank you, but none of the posted solutions, as far as I can tell, address my question.
The issue is having a FileUpload control, along with other controls, inside an FormView, which is inside an UpdatePanel.
The IFrame solution, as far as I can tell, doesn't work in this situation, because I can't put the IFrame inside the FormView, inside the UpdatePanel, and even if I could, I couldn't reference the controls by name as the examples show because they are inside
a FormView.
As for the first suggestion, it is not the same as my situation. My situation is not an UupdatePanel inside a FormView, it is a FormView inside an UpdatePanel. In this example the FileUpload works without any fancy tricks because it is outside the UpdatePanel.
What I am looking for is a way to use a FileUpload field that, along with many other fields, is part of a FormView, which is inside an Ajax TabContainer, which is inside an UpdatePanel.
As far as I can see, neither the PostBackTrigger method nor the IFrame method works in this situation. Perhaps there is a way to create the proper PostBackTrigger at run time, after during one of the events in the FormView, but I'm not sure if that is possible,
or hwo to do it.
malachi151
Member
46 Points
114 Posts
Re: Using a FileUpload inside a FormView inside an UpdatePanel (help!)
Jan 21, 2008 07:49 PM|LINK
Thank you, but none of the posted solutions, as far as I can tell, address my question.
The issue is having a FileUpload control, along with other controls, inside an FormView, which is inside an UpdatePanel.
The IFrame solution, as far as I can tell, doesn't work in this situation, because I can't put the IFrame inside the FormView, inside the UpdatePanel, and even if I could, I couldn't reference the controls by name as the examples show because they are inside a FormView.
As for the first suggestion, it is not the same as my situation. My situation is not an UupdatePanel inside a FormView, it is a FormView inside an UpdatePanel. In this example the FileUpload works without any fancy tricks because it is outside the UpdatePanel.
What I am looking for is a way to use a FileUpload field that, along with many other fields, is part of a FormView, which is inside an Ajax TabContainer, which is inside an UpdatePanel.
As far as I can see, neither the PostBackTrigger method nor the IFrame method works in this situation. Perhaps there is a way to create the proper PostBackTrigger at run time, after during one of the events in the FormView, but I'm not sure if that is possible, or hwo to do it.