Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
565
ULTRANUMERICEDITOR
posted

Hi,

There is a requirement to remove any values present in the Ultranumericeditor at runtime when a button is clicked. I have been trying this for sometime and could not see any property of the Ultranumericeditor supports this. Kindly advise.

Parents
No Data
Reply
  • 6120
    Offline posted

    Hello Preeth,

    To clear the values in UltraNumericEditor at runtime upon a button click, you can write something like below in the click event.
    private void button1_Click(object sender, EventArgs e)
            {
                this.ultraNumericEditor1.Value = null;
            }

    Make sure you set the below property in order to allow null values in UltraNumericEditor.
                this.ultraNumericEditor1.Nullable = true;
    Please let me know if I may be of further assistance.

    Sincerely,
    Sahaja Kokkalagadda
    Associate Software Developer

Children