Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


accessing a textbox that was created dynamically?


for (int i = 0; i < t1; i++)
{
TextBox t2 = new TextBox();
t2.ID = "adf" + i;
PlaceHolder1.Controls.Add(t2);
}



accessing data entered in the above created controls.



accessing a textbox that was created dynamically? for (int i = 0; i < t1; i++) ..

Answer / joy ghosh

for (int i = 0; i < t1; i++)
{
TextBox t2 =(TextBox) PlaceHolder1.FindControl("adf" + i);
string str=t2.Text;
}

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More ASP.NET Interview Questions

How does output caching work in ASP.NET?

0 Answers  


Web API uses which library for JSON serialization?

0 Answers  


What does clearing cache?

0 Answers  


Define data caching?

0 Answers  


What does mean by a neutral culture?

0 Answers   MindCracker,


what are the events raised in asp.net page life cycle?in which stage view state can be loaded?

0 Answers   EDS,


What is CSS? What is the advantage os using CSS in ASP.NET Web Applications?

2 Answers   PCS,


What is role-based security in asp.net?

0 Answers  


What is a response cookie?

0 Answers  


Define Query Interface,Adref,Release?

1 Answers   Microsoft,


What three Session State providers are available in ASP.NET 1.1? What are the pros and cons of each ?

1 Answers  


What is meant by ispostback in asp net?

0 Answers  


Categories