RIP
Tutorial
Tags
Topics
Examples
eBooks
Tutorial by Examples
Accessing the TextBox Control in aspx Page
TextBox txt = (TextBox)FindControl(yourtxt_Id);
Find a control in a GridView, Repeater, ListView etc.
If the Control has rows. TextBox tb = GridView1.Rows[i].FindControl("TextBox1") as TextBox; Or if it has items. TextBox tb = Repeater1.Items[i].FindControl("TextBox1") as TextBox;
Page 1 of 1
1
Cookie
This website stores cookies on your computer.
We use cookies to enhance your experience on our website and deliver personalized content.
For more details on our cookie usage, please review our
Cookie Policy
and
Privacy Policy
Accept all Cookies
Leave this website