Ajisha Ajisha - 4 months ago 67
Javascript Question

How to set by default blank kendo ui numeric textbox

I want to set kendo ui numeric textbox by default blank

<script>
$("#ProductModel_CostFrom").kendoNumericTextBox({
min: 0,
});
$(document).ready(function () {
$("#ProductModel_CostFrom").kendoNumericTextBox({
min: 0,
});
});
</script>


but in this by default it takes 0.00 value
so please give me solution
How to set by default blank kendo ui numeric textbox

Answer
<script>
            $("#ProductModel_CostFrom").kendoNumericTextBox({
                min: 0,
                value: " ",
            });
            $(document).ready(function () {

                $("#ProductModel_CostFrom").kendoNumericTextBox({
                    min: 0,
                    value: " ",
                    });
            });

        </script>