Legacy code c1modallayer C1Window 2012v1

Posted by: enrique.pv-ext on 19 May 2026, 10:50 am EST

    • Post Options:
    • Link

    Posted 19 May 2026, 10:50 am EST

    Hi,

    Migrate from 2010v1 to 2025v2 399 in ASP.NET WebForms NET Framework 4.8.1.

    Using C1Window from C1.Web.Wijmo.Controls.48.dll

    Changes C1Window to C1Dialog control.

    In my legacy code using C1Window 2012v1, I use C1Window functions:

    c1modallayer

            function hidec1modallayer() {
                var div = document.getElementById('c1modallayer');
                div.style.display = 'none';
            }
            function showc1modallayer() {
                var div = document.getElementById('c1modallayer');
                div.style.display = 'block';
            }

    c1modallayer not required in new version ?

  • Posted 20 May 2026, 5:04 am EST

    Hi,

    Based on our research and the limited information available regarding the older controls, “c1modallayer” in the legacy C1Window control appears to have been an internally generated modal background layer used to block interaction with the UI behind a modal window.

    The newer C1Dialog control automatically manages the modal overlay internally. You simply need to set Modal=“True” on the C1Dialog control. Unless your implementation relied on some custom behavior tied specifically to that layer, the old functions can likely be removed during migration.

    If you were implementing any specific functionality in C1Window that is now breaking after migration, please share a sample project demonstrating the behavior. This will help us investigate further and assist you more effectively.

    Best Regards,

    Kartik

Need extra support?

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

Learn More

Forum Channels