Saving while NumericUpDown has focus

2 posts, 0 answers
  1. Mike Cochran
    Mike Cochran avatar
    1 posts
    Member since:
    Mar 2010

    Posted 10 Mar 2010 Link to this post

    When I try to submit when NumericUpDown has been entered by typing the value with the keyboard, if the NumUpDown control still has focus, then the value does not save.  Is there a way to "save" the NumUpDown state in my save button function?
  2. Hristo Borisov
    Hristo Borisov avatar
    298 posts

    Posted 15 Mar 2010 Link to this post

    Hi Mike Cochran,

    Yes it is possible. You just have to set the UpdateSourceTrigger property to Explicit in your binding, and call the UpdateSource method of the BindingExpression whenever you want the binding to be set. Please take a look at the MSDN documentation concerning this here.

    Thank you for contacting us, and we look forward to answering your questions again.

    Hristo Borisov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. DevCraft banner
Back to Top