Dialog Error

Posted by: roger.porter on 16 January 2020, 9:27 pm EST

  • Posted 16 January 2020, 9:27 pm EST

    I have a javascript function which calls a webmethod. After the webmethod I check one of the returned values and if it's false I want to show a C1 Dialog but I am getting an error:-
    Javascript runtime error: Unable to get property '_focusTabbable' of undefined or null reference.
    Here is my code to show the dialog:-
        if (KeyInspectionPoints.indexOf('<Li>') < 0) {
    $("#ctl00_ContentPlaceHolder1_MessageBox").c1dialog("option", "title", "Warning");
    $("#ctl00_ContentPlaceHolder1_MessageBox_lblMessageBox").text('This CICs Key Inspections need to be numbered in order to be shown in the CIC Preview Report.');
    $('#ctl00_ContentPlaceHolder1_MessageBox').c1dialog('open');
    }
  • Replied 19 January 2020, 7:57 pm EST

    Hi Roger,

    We are sorry but we were unable to replicate the issue at our end. Please refer to the sample attached that we used to replicate the issue. Could you please let us know whether we are missing something in order to replicate the issue?

    Regards,
    Ashwin

    C1Dialog_Open.zip
Need extra support?

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

Learn More

Forum Channels