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 to make sure that contents of an updatepanel update only when a partial postback takes place (and not on a full postback)?
what is view state
5 Answers Microsoft, Siebel Systems,
Should user input data validation occur server-side or client-side? Why?
3 Answers NIC, Siebel Systems,
What is the difference between a Stored procedure and function?
Can you explain one critical mapping? Performance issue which one is better?
What is postback request?
How many types of server controls do we have?Also explain differance between them taking an example of ASP.NET?
Explain login control and form authentication.
To display data in the combo box, prior to setting the Data Source, what kind of property on a Combo Box do you set with a column name?
Why would a company use an application service provider?
what are the events in ASP.net page life cycle?
What are sessions used for?