Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- protected TextBox txtName;
- protected Button btnSubmit;
- // create child control
- protected override void CreateChildControls() {
- txtName = new TextBox();
- this.Controls.Add(txtName);
- btnSubmit = new Button();
- btnSubmit.Text = "Submit Name";
- this.Controls.Add(btnSubmit);
- }
Add Comment
Please, Sign In to add comment