C1Dialog Error

Posted by: roger.porter on 20 February 2020, 1:01 am EST

  • Posted 20 February 2020, 1:01 am EST

    I'm trying to use the C1Dialog when a error occurs to show the end user a message but I keep getting: -

    0x800a138f - JavaScript runtime error: Unable to get property '_focusTabbable' of undefined or null reference

    This is my Ajax call: -

    function CICSelected() {
    var ReturnResult = 0;

    $.ajax({ //Check to see if a CIC has first been selected.
    type: "POST",
    url: "CICMaint.aspx/CICSelected",
    data: "",
    contentType: "application/json; charset=utf-8",
    dataType: "json",
    async: false,
    cache: false,
    success: function (response) {
    if (response.d) {
    ReturnResult = 1;
    } else {
    ShowMessage('Edit CIC', 'You need to select a CIC first.');
    ReturnResult = 0;
    error: function (xhr, status, error) {
    alert("AJAX Error (CICSelected): " + xhr.responseText);
    return ReturnResult;

    Here is my code to show the dialog: -
    function ShowMessage(Title, Message) {
    $("#ctl00_ContentPlaceHolder1_MessageBox").c1dialog("option", "title", Title);
  • Replied 20 February 2020, 1:21 am EST

    I think I know the problem. I call the dialog but my code continue's to run and I am trying to change the index of an accordion. Is there a way to call the dialog synchronise rather than async so that it will only continue once the dialog has un loaded.

    Many thanks,

  • Replied 20 February 2020, 3:51 am EST


    I have got around the issue with the following code but now when the accordion's index is changed to 0 it loses my header menu. Please see attached screen shots: -

    $("#MainAccordion").c1accordion("option", "selectedIndex", 0);
    setTimeout(function () {
    ShowMessage('Edit CIC', 'You need to select a CIC first.');
  • Replied 24 February 2020, 4:59 pm EST

    Hi Roger,
    We are sorry, but could you please share a small demo sample depicting your issue so that we may debug at our end and assist you accordingly.

    Manish Gupta
Need extra support?

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

Learn More

Forum Channels