Sponsored By
DataConverter
Advertise with Us
Advertisement
Advertise with Us
Follow Us
Follow _MindStick_ on Twitter View MindStick Software's LinkedIn profile View MindStick Software's Facebook profile
Mindstick
Article Article  Forum Forum  Blog Blog  Quiz Quiz  Beginner Beginner  Careers Careers  Contact Contact  Login Login  
Home | Product | Services | About Us | Interview | DeveloperSection | Submit an Article | Submit Blog
Report Abuse Form
Reason:    
   

Home >> .Net >> ASP.Net >> problem in access the control inside the user control
Author Post

Vikas Giri


Total Post: 13
Member Since: 1/11/2011
Points: 65
problem in access the control inside the user control
Posted On: 8/24/2011 1:16:19 AM
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
Modified On: 8/24/2011 1:16:41 AM
Author Post

Amit Singh


Total Post: 104
Member Since: 8/8/2010
Points: 702
Re: problem in access the control inside the user control
Posted On: 8/24/2011 6:21:40 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 ;

Report Abuse Form
Reason:    
 
Total Online Users: 3489
Advertisement
MindStick DataConverter
Advertise with Us
  
Copyright © 2013MindStick. All Rights Reserved.