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.
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 |
How does output caching work in ASP.NET?
Web API uses which library for JSON serialization?
What does clearing cache?
Define data caching?
What does mean by a neutral culture?
what are the events raised in asp.net page life cycle?in which stage view state can be loaded?
What is CSS? What is the advantage os using CSS in ASP.NET Web Applications?
What is role-based security in asp.net?
What is a response cookie?
Define Query Interface,Adref,Release?
What three Session State providers are available in ASP.NET 1.1? What are the pros and cons of each ?
What is meant by ispostback in asp net?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)