Open RAD Window - Object doesn't support property or method '_createDefaultTable'

4 posts, 1 answers
  1. alfred
    alfred avatar
    25 posts
    Member since:
    Jan 2008

    Posted 03 Mar Link to this post

    I open the RadWindow by the code.  Both OpenDownloadFile and OpenDownloadFile1 does not work.

    The code is actually copied from my old code.  Now my version is 2015Q3.  Old code is working fine in old Telerik versions.

    IE11 displays error: Object doesn't support property or method '_createDefaultTable'.

     

    Regards

    Alfred

     

     

     

    01.<a href="javascript:void(0)" onclick="OpenDownloadFile();">Run JavaScript Code</a>
    02. 
    03.function OpenDownloadFile() {
    04.     var wndManager = $find("<%=RadWindowManager1.ClientID%>");
    05.     var oWnd = wndManager.open("Popup_DownloadFile.aspx", "RadWindow1");
    06.     oWnd.center();
    07. 
    08.}
    09. 
    10.function OpenDownloadFile1() {
    11.            var oWnd = radopen("Popup_DownloadFile.aspx?ID=" + FileID, null); // open radwindow        
    12.            oWnd.set_title("Download File");
    13.            oWnd.set_visibleStatusbar(false);
    14.            oWnd.setSize(700, 1000);
    15.            oWnd.moveTo(100, 50);
    16.            window.scrollTo(100, 100)
    17.             
    18.        }

  2. alfred
    alfred avatar
    25 posts
    Member since:
    Jan 2008

    Posted 03 Mar Link to this post

    Sorry.  The OpenDownloadFile1 has parameters inserted in actual code.  I just forgot to paste them here.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Answer
    Marin Bratanov
    Admin
    Marin Bratanov avatar
    3602 posts

    Posted 07 Mar Link to this post

    Hello Alfred, 

    Below is the code I used for testing and I am also attaching a short video that shows my experiement so you can confirm if I am missing something, because this snippet seems to work fine for me.

    Can you reproduce the problem you are experiencing with it and point out any necessary modifications and also confirm the exact version you are upgrading from?

    Also, could you try using the latest release (Q1 2016 SP1) and see whether this helps?

    <telerik:RadWindowManager ID="RadWindowManager1" runat="server" RenderMode="Lightweight"></telerik:RadWindowManager>
    <a href = "javascript:void(0)" onclick = "OpenDownloadFile();" > Run JavaScript Code</a>
    <br />
    <a href = "javascript:void(0)" onclick = "OpenDownloadFile1('111');" > use second version</a>
    <script>
     
        function OpenDownloadFile() {
            var wndManager = $find("<%=RadWindowManager1.ClientID%>");
         
            var oWnd = wndManager.open("Popup_DownloadFile.aspx", "RadWindow1");
         
            oWnd.center();
        }
         
        function OpenDownloadFile1(FileID) {
            var oWnd = radopen("Popup_DownloadFile.aspx?ID=" + FileID, null); // open radwindow       
         
            oWnd.set_title("Download File");
         
            oWnd.set_visibleStatusbar(false);
            oWnd.setSize(700, 1000);
            oWnd.moveTo(100, 50);
            window.scrollTo(100, 100)
        }              
    </script>

    Regards,

    Marin Bratanov
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  5. alfred
    alfred avatar
    25 posts
    Member since:
    Jan 2008

    Posted 07 Mar in reply to Marin Bratanov Link to this post

    Dear Marin

     

    Thanks.  It works now.  As I mentioned, the original code is "old" code using previous Rad Controls version.  I am converting it to use new version (2015 Q3). 

     

    The root cause is: I have also another js file which is to handle the IE 11 odd behaviour with Rad Controls old version.  Actually the source of this js file is also from this forum. 

    Thanks.

    Alfred

     

     

Back to Top