You need to dynamically add a TextBox control to a page and display it at specific location

Question:You need to dynamically add a TextBox control to a page and display it at specific location

1.Place a Label control at the required location in the page and add the control by manipulating the Text property of the Label control

2.Place a PlaceHolder control at the required location in the page. Use the Add method of theControls collection of the PlaceHolder control to dynamically add the required control

3. Build the HTML for the entire page in a String and insert the HTML code for required control in the required place

4.You cannot add a control to a page dynamically


Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!