Click here to Skip to main content
15,843,322 members
Home / Discussions / C#
   

C#

 
AnswerRe: Modal Form in WeifenLuo.WinFormsUI.Docking Pin
Pete O'Hanlon17-Jan-12 6:00
subeditorPete O'Hanlon17-Jan-12 6:00 
Questionunable to bind to TextBox.Text Pin
Giorgi Nistor17-Jan-12 0:16
Giorgi Nistor17-Jan-12 0:16 
AnswerRe: unable to bind to TextBox.Text Pin
BobJanova17-Jan-12 0:21
BobJanova17-Jan-12 0:21 
GeneralRe: unable to bind to TextBox.Text Pin
Giorgi Nistor17-Jan-12 0:33
Giorgi Nistor17-Jan-12 0:33 
GeneralRe: unable to bind to TextBox.Text Pin
BobJanova17-Jan-12 2:47
BobJanova17-Jan-12 2:47 
GeneralRe: unable to bind to TextBox.Text Pin
Giorgi Nistor17-Jan-12 3:05
Giorgi Nistor17-Jan-12 3:05 
AnswerRe: unable to bind to TextBox.Text Pin
Pete O'Hanlon17-Jan-12 3:31
subeditorPete O'Hanlon17-Jan-12 3:31 
GeneralRe: unable to bind to TextBox.Text Pin
Giorgi Nistor17-Jan-12 5:17
Giorgi Nistor17-Jan-12 5:17 
but I have
HTML
<TextBox.Text>
                    <Binding Source="{StaticResource mObj}" Path="pText" UpdateSourceTrigger="PropertyChanged" Mode="TwoWay" />
                </TextBox.Text>


msdn:
Using the DataContext property on a parent element is useful when you are binding multiple properties to the same source. However, sometimes it may be more appropriate to specify the binding source on individual binding declarations. For the previous example, instead of using the DataContext property, you can specify the binding source by setting the Source property directly on the binding declaration of the button, as in the following example:
above

Now it works
GeneralRe: unable to bind to TextBox.Text Pin
Pete O'Hanlon17-Jan-12 5:31
subeditorPete O'Hanlon17-Jan-12 5:31 
Questionbeginer in c# Pin
Member 857363217-Jan-12 0:05
Member 857363217-Jan-12 0:05 
AnswerRe: beginer in c# Pin
V.17-Jan-12 0:08
professionalV.17-Jan-12 0:08 
AnswerRe: beginer in c# Pin
Richard MacCutchan17-Jan-12 0:10
mveRichard MacCutchan17-Jan-12 0:10 
AnswerRe: beginer in c# Pin
thatraja17-Jan-12 0:11
professionalthatraja17-Jan-12 0:11 
QuestionHow To Track [ Inserted/Updated ] Records Using ADO.NET Pin
AmbiguousName16-Jan-12 22:17
AmbiguousName16-Jan-12 22:17 
AnswerRe: How To Track [ Inserted/Updated ] Records Using ADO.NET Pin
Mycroft Holmes16-Jan-12 22:54
professionalMycroft Holmes16-Jan-12 22:54 
AnswerRe: How To Track [ Inserted/Updated ] Records Using ADO.NET Pin
BobJanova16-Jan-12 23:42
BobJanova16-Jan-12 23:42 
QuestionC# Limit number of characters user can enter - Console Application Pin
Deborah Palmer McCain16-Jan-12 13:08
Deborah Palmer McCain16-Jan-12 13:08 
AnswerRe: C# Limit number of characters user can enter - Console Application Pin
Wayne Gaylard16-Jan-12 19:46
professionalWayne Gaylard16-Jan-12 19:46 
GeneralRe: C# Limit number of characters user can enter - Console Application Pin
Deborah Palmer McCain16-Jan-12 20:04
Deborah Palmer McCain16-Jan-12 20:04 
GeneralRe: C# Limit number of characters user can enter - Console Application Pin
Wayne Gaylard16-Jan-12 20:14
professionalWayne Gaylard16-Jan-12 20:14 
AnswerRe: C# Limit number of characters user can enter - Console Application Pin
BobJanova16-Jan-12 23:39
BobJanova16-Jan-12 23:39 
GeneralRe: C# Limit number of characters user can enter - Console Application Pin
Deborah Palmer McCain17-Jan-12 5:53
Deborah Palmer McCain17-Jan-12 5:53 
Questionhow to paint lines on combo-box in difference colors ? Pin
goldsoft16-Jan-12 1:25
goldsoft16-Jan-12 1:25 
AnswerRe: how to paint lines on combo-box in difference colors ? Pin
Pete O'Hanlon16-Jan-12 1:29
subeditorPete O'Hanlon16-Jan-12 1:29 
GeneralRe: how to paint lines on combo-box in difference colors ? Pin
goldsoft16-Jan-12 1:38
goldsoft16-Jan-12 1:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.