Windows Vista Forums

invalidate textbox

  1. #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. #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

invalidate textbox

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