problem in access the control inside the user control

Total Post:13

Points:91

 1639  View(s)
Ratings:
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
  1. Re: problem in access the control inside the user control

    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 ;

Answer

Please check, If you want to make this post sponsored

You are not a Sponsored Member. Click Here to Subscribe the Membership.