D
Daves
code in a webcontrol's Page_Load event wants to grab value of a TextBox in
the parent page;
(TextBox) _textBox = (TextBox) this.Page.FindControl("TB_TextBox1");
string _value = _textBox.Text;
well, FindControl(...) returns null and in VS debugger I see the particular
TextBox is a locked (private) class... Why is that and how can I change it?
the parent page;
(TextBox) _textBox = (TextBox) this.Page.FindControl("TB_TextBox1");
string _value = _textBox.Text;
well, FindControl(...) returns null and in VS debugger I see the particular
TextBox is a locked (private) class... Why is that and how can I change it?