<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="InputNumeric_Sample._Default" %>

<%@ Register Assembly="C1.Web.Wijmo.Controls.48" Namespace="C1.Web.Wijmo.Controls.C1Input" TagPrefix="wijmo" %>

<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server">

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

    <wijmo:C1InputNumeric ID="C1InputNumeric1" runat="server" Width="250px" />

    <br /><br />

    <input id="TextBox1" value="Current NullText" />
    <br />
    <button type="button" onclick="UpdateNullText(); return false;">Set NullText</button>

</asp:Content>
