asp.net codes
Monday, April 13, 2009
How to find a page control in usercontrol?
Write down the following code snipps for find the control of page
in user control.
TextBox tb = new TextBox();
tb = (TextBox) this.Parent.FindControl("tb1");
tb.Text = "I m in user control 1";
Thanks
Helpondesk Team
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment