Home > DeveloperSection > Forums > problem in access the control inside the user control
Vikas Giri
Vikas Giri

Total Post:13

Points:91
Posted on    August-24-2011 1:16 AM

 ASP.Net ASP.Net 
Ratings:


 1 Reply(s)
 1037  View(s)
Rate this:
problem in access the control inside the user control

we want to get the value of textbox control which are exist inside the user control, its id is "usercontrol1"

please give the right solution
thanks


Amit Singh

Total Post:103

Points:721
Posted on    August-24-2011 6:21 AM

Hi vikas

you want to access the textbox control value inside the user control.
check this line of code

TextBox TextBox1=((TextBox)usercontrol1.FindControl("TextBox1")).Text ;


Don't want to miss updates? Please click the below button!

Follow MindStick