Text Box not updating from an event
Hello, Im using C# VS2008 .Net 3.5
I have created a usercontrol which is placed in a windows form, and have a textbox in that control that updates from code behind a button but not from an event.
Any ideas would be appreciated Regards
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Kirtan PatelRank #292 · 8.6K reputationPosted Aug 7, 2009, 6:02 AM EDT
public string changeText
{
get{
return textBox1.Text;
}
set
{
textBox1.Text = value;
}
}
then Try to Update its text like
UserControl1.changeText = "Hello";
ok make Sure that Button you are using have correct Event selected in Property window or not
like below
Shane Crompton42 reputationPosted Aug 7, 2009, 6:16 AM EDT
Kirtan PatelRank #292 · 8.6K reputationPosted Aug 7, 2009, 6:24 AM EDT