C1 component is not defined

Posted by: sergey_chizhik on 1 December 2021, 11:20 am EST

  • Posted 1 December 2021, 11:20 am EST - Updated 3 October 2022, 12:14 pm EST

    Hi Support,

    We have this error randomly (e.g. 1 time per 20-40 page reloadings).

    Could you, please, help to solve that error?

    Example of Wijmo and c1 component below:

    @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers

    @addTagHelper *, C1.AspNetCore.Mvc

    @addTagHelper *, C1.AspNetCore.Mvc.FlexSheet

    @ViewData["Title"]
    <c1-styles />
    <c1-scripts>
        <c1-flex-sheet-scripts />
        <c1-basic-scripts />
    </c1-scripts>
    
    @RenderBody()
    <div id="action-bar">
        <div id="loading-spinner"
             style="position: relative;
                    top: 5px;
                    width: 20px;
                    height: 20px;
                    display: none;
                    margin-left: 3px;">
            <img src="~/img/Rounded blocks.gif">
        </div>
        <button type="button" class="btn btn-default" id="freezeCursorBtn">Freeze At Cursor</button>
        <button type="button" class="btn btn-default" id="freezeRowsBtn" >Toggle Frozen Rows</button>
        <button type="button" class="btn btn-default" id="freezeColsBtn">Toggle Frozen Columns</button>
        <button type="button" class="btn btn-default" id="saveBtn">Save</button>
    </div>
    <div id="message-holder">
        <div id="no-records-message" style="display: none; width: 100%; text-align: center; font-size: 2em;">
            <p><b>No records found.</b></p>
        </div>
    </div>
    <div id="flexSheet-container">
        <c1-flex-sheet class="flexSheet" id="flexSheet"
                       show-errors="true"
                       enable-drag-drop="true"
                       load-action-url="@Url.Action("RemoteBind")"
                       save-action-url="@Url.Action("SaveData")"
                       enable-formulas="true">
            <c1-formula-bar />
        </c1-flex-sheet>
    </div>
    <div id="full-screen-loader" class="loading">Loading</div>
    <script src="~/js/dist/bundle.js"></script>
    

    Dependencies:

    C# dependencies (enterprise additions) :

    c1.aspnetcore.mvc.flexsheet(3.0.20212.322)

    gembox.spreadsheet(47.0.1268)

    c1.aspnetcore.api(3.0.20212.302)

    c1.aspnetcore.mvc(3.0.20212.322)

    King regards,

    Serhii

  • Posted 2 December 2021, 11:46 pm EST

    Hello,

    As there is already an active case on the same issue opened on the My Support page of your GrapeCity Account ( https://www.grapecity.com/my-account/my-support ). We would request you to kindly continue the thread over there to avoid any confusion.

    Regards

    Dushyant Sharma

Need extra support?

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

Learn More

Forum Channels