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
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
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 ;