AsyncFileUpload fails in hidden panel

S

Scooby Dog

Could someone help: I have the AsyncFileUpload controk within a <Panel>
control that I toggle visibility True/False.

For Example when the page loads pnlEdit.visible = False. Then when a user
clicks on a detail record in a grid I display the panel with the
AsyncFileControl ie: pnlEdit.Visible = True.

Because the the AsyncFileUpload Control is not displayed on the page right
away it errors when you try to upload a file. Would anyone know how I could
preload the control or configure it

to work in this configuration?



ie:

<asp:UpdatePanel ID="updEditDetails" runat="server" UpdateMode="Always">

<ContentTemplate>

<asp:panel ID="pnlEdit" runat="server">

<cc1:AsyncFileUpload ID="FileUpload" runat="server"
width="200px"/>

</asp:panel>

</ConTentTemplate>

</asp:UpdatePanel>





Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top