Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6752797
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T13:05:12+00:00 2026-05-26T13:05:12+00:00

I have a NumericUpDown control that is bound to an int property on a

  • 0

I have a NumericUpDown control that is bound to an int property on a business object which implements INotifyPropertyChanged. The Data Source Update Mode for the NumericUpDown control is set to OnPropertyChanged and the ReadOnly property of the control is set to false. This works as expected with one exception: if I enter a value into the textbox portion of the NumericUpDown control, the value of the property that the control is bound to doesn’t get updated until the control loses focus.

I have a ToolStrip with several buttons on my form. Clicking on these buttons won’t cause the NumericUpDown control to lose focus so before I do anything with my business object via one of these button clicks, I call toolStrip.Focus() to make sure that the value in the textbox portion of the NumericUpDown control has been pushed back to the business object. This seems to work for me but I’d like to know if this is the expected behavior of the NumericUpDown control in this scenario and, if so, how other people work around this situation? Thanks for your feedback!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T13:05:13+00:00Added an answer on May 26, 2026 at 1:05 pm

    I’ve had a similar problem where I used the WriteValue function

    numericUpDown.DataBindings["Value"].WriteValue();
    

    This worked when it wasn’t writing the value until the control lost focus.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Form and numericupdown control located on it. I want that in
i have a NumericUpDown control and want to update its contents from the registry.
I have a form with a System.Windows.Forms.NumericUpDown control. Say that the range is from
I have a numericupdown control on a C# Windows Form, and am interested in
I have created a user control tha inherits from the NumericUpDown Control. Is it
I have a textblock bound to an object. The 2-way binding works well and
I have four numericUpDowns the values of which influence an output control. Thay share
In my C#.Net WinForm app in VS2005, I have a NumericUpDown control. In the
I have the following business object: public class MyObject { // Some public properties
I have a WinForms app that contains several comboboxes, numericupdown controls and checkboxes. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.