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
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 ;