1.    05 Aug 2008 #1
    William Dauchy Guest

    invalidate textbox


    Hello,

    I have a button which put a value in a variable when a click happened.
    This variable is part of data binding, and is connected to a textbox.
    In the method which receive the click button I finished by calling the
    invalidate method of the textbox.
    But nothing happens (I mean, the textbox isnt update) until I click on
    another radio button somewhere in the UI.
    What should I do to update the textbox immediately?

    I also tried with refresh and update method.

    Regards,

    --
    William
      My System SpecsSystem Spec

  2.    05 Aug 2008 #2
    William Dauchy Guest

    Re: invalidate textbox


    On Aug 5, 4:29*pm, William Dauchy <wdau...@xxxxxx> wrote:

    > I have a button which put a value in a variable when a click happened.
    > This variable is part of data binding, and is connected to a textbox.
    > In the method which receive the click button I finished by calling the
    > invalidate method of the textbox.
    > But nothing happens (I mean, the textbox isnt update) until I click on
    > another radio button somewhere in the UI.
    > What should I do to update the textbox immediately?
    >
    > I also tried with refresh and update method.
    I finally found the method ResetBindings(false).
    It works fine now.

    Regards,
    --
    William
      My System SpecsSystem Spec


Similar Threads
Thread Forum
$Textbox problem
Hi, I'm having a strange problem with placing and formatting text in multiline text boxes. When I assign a string as such: - $message =...
PowerShell
split textbox
Below is a bit of code that is causing me some headache. I am trying to split entry into a textbox with a ";" and upload each split to a new row in...
VB Script
Masked TextBox
In Framework 2.0 we can use the MaskedTextBox to format values How can I do that in WPF?
Avalon
Textbox AutoSize?
Hi, I have a Grid with this code in it: <Grid.ColumnDefinitions> <ColumnDefinition MinWidth="100" Width="100"/> <ColumnDefinition Width="*"/>...
Avalon
will motherboard repair invalidate Vista Ultimate?
have a Dell GX270 which according to dell needs to be replaced and they shipped a new MB to me this machine has Vista Ultimate installed and was...
Vista General
.NET2 TextBox & DWM
Hi. First of all, I have extended glass to my client area and I want to put a search textbox on it. The biggest problem is, that the text inputed...
Aero
autocomplete in a Textbox possible?
In windows forms it had been so easy, in WPF/XAML I just can't find it: how do I enable some kind of autocomplete for a Textbox? thanks, Sam
Avalon

Our Sites
  • Ten Forums
  • Eight Forums
  • Seven Forums
  • PC Help Forum
  • Help Me Bake
  • Site Links
  • Contact Us
  • Privacy and Cookies
  • About Us
    Windows Vista Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

    Designer Media Ltd
    All times are GMT -5. The time now is 19:05.
    .