Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
745
WebDialgoWindow and WebUpload Issue
posted
Hi all,
 
I have the latest release of Infragistics, v11.1.
I’m trying to use the new feature of webupload, but I’m having some problems with that…
The code is below:
 
<asp:UpdatePanel ID="updPnl" runat="server">
  
<ContentTemplate
       <ig:WebDialogWindow ID="webdialogwindow1" runat="server">
          <ContentPane>
            
<Template>
               
<table width="100%" border="0">
                  
<tr>
                      <td>
                        
<ig:WebUpload ID="WebUpload1" runat="server" AutoStartUpload="true" Mode="Single">
                         </ig:WebUpload>
                     
</td>
                   </tr>
                </table>
             </Template>
         
</ContentPane>
       
</ig:WebDialogWindow>
        <asp:Button id="Button1" runat="server" />

  
</ContentTemplate>
</asp:UpdatePanel>
 
My goal is: When the page loads, the window state of WebdialogWindow is hidden and when I click the Button1, it turns the window state to normal.
Then the webdialogwindow appears but I still can’t see the webupload control. It’s seems that the control remains invisible.
This only occurs if use a UpdatePanel, WebDialogWindow and WebUpload together.
 
If I use only WebDialogWindow and WebUpload it shows everything OK.
If I use only UpdatePanel and WebUpload it shows everything OK.
But if I use these 3 controls together, when I turn Window State to Normal, I can’t see WebUpload control…
 
I would appreciate some help please.
 
Thanks J
Parents
No Data
Reply
  • 33839
    Suggested Answer
    posted

    Hi soniaalves,

    I tried reproducing this.  I did get it if I showed the dialog window on the server.  But if I used client script to show it, there was no problem.

    var dialogWindow = $find("webdialogwindow1");

               function showIt()

            {

                var dialogWindow = $find("webdialogwindow1");

                dialogWindow.set_windowState($IG.DialogWindowState.Normal);

            }

    <input type="button" id="clientShow" value="client Show" onclick="showIt()" />

    regards,

    David Young

Children