Oops, bound to the wrong control. Never mind...

----- Original Message -----
From: "Jim Galasyn" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 31, 2002 9:18 AM
Subject: [DOTNET] Simple Data Binding problem: pull from control?


> I'm doing a dead-simple text binding in C# UI:
>
>  this._ctlTitle.DataBindings.Add( "Text", this._movie, "Title2" );
>
> This populates the control just fine. But when I change the text in the
> control, the binding doesn't seem to care. If I get the binding from the
> DataBindings collection and look at it in the debugger, the private field,
> "modified", is false. If I set it to true in the debugger and call the
> PropertyManager method EndCurrentEdit, I see the new value persisted to
the
> data source.
>
> So how do I get that modified field set to true?
>
> You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
> subscribe to other DevelopMentor lists at http://discuss.develop.com.
>
>

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to