** Assertion failed in Wijmo: TabPanel children should contain header and pane

Posted by: ankita on 24 June 2021, 10:25 am EST

  • Posted 24 June 2021, 10:25 am EST - Updated 29 September 2022, 1:44 am EST

    Hello,

    I am using Wijmo Library 5.20211.781 with ASP.NET.

    In one of the screen I use wijmo Tab which is working as expected in stage and prod environment but not working on a site which use office 365 as proxy server to access intranet application.

    Error in Console:

    
            if (PaymentTab != null) {
                PaymentTab.dispose();
            }
            PaymentTab = new wijmo.nav.TabPanel('#PaymentTabs', {
                selectedIndexChanged: function (e) {
                    try {
                        _CurTab = e.selectedIndex;
                        if (_CurTab == 1) {
                            InitializeCheckTabControls();
                        } if (_CurTab == 2) {
                            $(".divPaypalIframe").hide();
                            $(".PaypaldrpDIV").show();
                            InitializePayPalTabControls();
                            //LoadPayPalIframe();
                        }
                        SubmitButtonStatus();
                    }
                    catch (e) {
                        console.log(e);
                    }
                }
            });
    
    

    Same code is used and same server not sure why it’s not working in one.

    Please suggest if I am doing it wrong.

    Thank you

  • Posted 25 June 2021, 12:29 am EST

    Hi,

    As per the error message, it seems that the TreeView is unable to get the content in the order as it required.

    Please check the DOM and check if the DOM is same as defined for the TreeView host as defined in the code.

    Also, please share the steps to host the application on the same environment with the environment detail.

    It would be better if you may share the demo sample.

    Regards,

    Manish Gupta

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels