C1Functions javascript for C1.Web.UI.Controls.C1GridView to 2025v2 399

Posted by: enrique.pv-ext on 26 December 2025, 6:47 am EST

  • Posted 26 December 2025, 6:47 am EST - Updated 26 December 2025, 6:58 am EST

    Hi,

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

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

    Only I need changes C1Functions overrides legacy javascript code:

    
        <script src="<%= Page.ResolveClientUrl("~/js/C1Functions_Override.js") %>" type="text/javascript"></script>
        

    the legacy code:

    if(C1.Web.UI.Controls.C1GridView)
    {
        C1.Web.UI.Controls.C1GridView._RangeSelectionHelper.prototype.$F = function(c) {
            this.$7 = this.$1.get_$3_58().$1B(true);
            var b = C1.Web.UI.Utils.Measurement.getMousePointerPosition(c.rawEvent);
            var a = (c.target) ? c.target.tagName.toLowerCase() : "";
            if (this.$1.get_enabled() && (this.$1.get_selectionMode()) && (a === "" || ((a === "td" || a === "th") && Sys.UI.DomElement.containsCssClass(c.target, "XXXXX")) || (a === "div" && Sys.UI.DomElement.containsCssClass(c.target, "contentdiv"))) && (b.x > this.$7.x && b.x < this.$7.x + this.$7.width) && (b.y > this.$7.y && b.y < this.$7.y + this.$7.height)) {
                this.$13();
                this.$B = new Sys.UI.Point(b.x, b.y);
                this.$8 = this.$15(this.$B)
            }
        }
        
        C1.Web.UI.Controls.C1GridView.C1GridView.prototype.initialize = function() {
            this.$3_61(false);
            this.get_columns().traverse(Function.createDelegate(this, this.$3_78), null);
            this.$3_5D();
            this.$3_5C();
            this.get_columns().traverse(Function.createDelegate(this, this.$3_7A), null);
    

    In a custom control, C1Window1.$3_72

            var windowReady = function () {
            return controls.C1Window1 && controls.C1Window1.$3_72;
        }

    Can you help me, please, about C1 functions override legacy ?

  • Posted 29 December 2025, 1:41 pm EST

    Hi,

    This appears to be a very old functionality, and currently we do not have any information or references related to it. Because of this, we are not sure what these functions were originally used for.

    These functions are not available in the current version. If you have any documentation, sample code, or references, please share them so that we can better understand the requirement.

    Please note that ASP.NET WebForms is now considered a legacy platform, and there is no active development ongoing for it. Additionally, you are upgrading from a very old version, which typically requires reimplementing several features from scratch.

    Therefore, we strongly recommend considering a migration to ASP.NET MVC to take advantage of the latest features, improvements, and full product support.

    You can refer to the following documentation for more details:

    https://developer.mescius.com/componentone/docs/mvc/online-mvc/overview

    Thanks for your understanding.

    Kind Regards,

    Aastha

  • Posted 30 December 2025, 7:45 am EST

    attached C1Functions_Override.js and MessageDialog.js

    javascriptFiles.zip

    migration to ASP.NET MVC Core ? Blazor ? React + ASP.NET ?

  • Posted 31 December 2025, 5:11 am EST

    Hi,

    Thanks for sharing the files.

    We are currently discussing this with our developers. [Internal Tracking ID: C1WEB-30277] We will update you on this as soon as we hear back from them.

    Thanks & regards,

    Aastha

Need extra support?

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

Learn More

Forum Channels