set_nullText C1NumericInput to C1InputNumeric 2025v2 399

Posted by: enrique.pv-ext on 22 January 2026, 11:34 am EST

    • Post Options:
    • Link

    Posted 22 January 2026, 11:34 am EST

    Hi,

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

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

    Changes C1NumericInput to C1InputNumeric control.

    how-to migrate .set_nullText method javascript ?

    				// TODO: FALTA REVISAR NUMERICINPUT
    				var currencyinput = $find(C1NumericInputServiceTimeID);
    				var $input = $("#" + C1NumericInputServiceTimeID);
    				if (currencyinput != null) {
    					currencyinput.set_nullText('<% Response.Write((string)this._textsShown[4]); %>');
    					currencyinput.set_Value(0);
    				}

    using c1inputnumeric for set value:

    var $input = $('#<%=C1InputNumeric1.ClientID%>');
                var val = $input.c1inputnumeric('option', 'value');
    
      $input.c1inputnumeric('option', 'value', ui.value);

    any suggestions ?

  • Posted 23 January 2026, 6:46 am EST

  • Posted 23 January 2026, 8:34 am EST

    thanks…

     // Get value
        var returnsValue; // Type:  string
        returnsValue = $(".selector").wijinputnumber("option", "placeholder");

    showNullText is old api

    $(".selector").wijinputcore({ showNullText: true, nullText: ""});
                    
    equals:
    
    $(".selector").wijinputcore({ placeholder: ""});
    

     function UpdateNullText() {
                var textValue = document.getElementById('TextBox1').value;
                var input = $('#<%= C1InputNumeric1.ClientID %>');
                input.c1inputnumeric('option', 'placeholder', textValue);
            }
    		

Need extra support?

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

Learn More

Forum Channels