get textbox value in user control??

  • Thread starter Thread starter DaveF
  • Start date Start date
D

DaveF

I have a textbox in a user control that a put in a aspx page. How do I get a
referance to that textbox from my aspx page?
 
foreach (RepeaterItem ri in this.rptrCustomFields.Items)

{

TextBox txtRepeater = (TextBox)ri.FindControl("txtRepeater");

}
 
He didn't say anything about repeaters...though obviously the same could be
applied to a user control (though it's a little different) :P

Karl
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Get post values between two pages 2
masterpage affecting tabbing? 3
Page Member 5
Losing TextBox values 3
usercontrol - events question 1
User Control 3
textbox control question 7
User Control Event Handlers 5

Back
Top