Author: pcs | Posted on: 7/7/2008 7:12:20 AM | Views : 861

Hi,

1. In the web application,the textbox controls and submit button for login are  created dynamically.

2.The application uses forms authentication (i.e) the start page of the application loads a button Login.On clicking the Login

button it creates the 2 textbox controls and submit button.

3.User control is used .Place holder control is used.

The code below is in Login.cs file.

(i.e) Control ctrl =LoadControl("usercontrol.ascx");
Table table = new Table();
TableRow tr = new TableRow();

TableCell td = new TableCell();

...............................

table.Controls.Add(tr);
Button button = ...

Go to the complete details ...