Add Control
-
i am doing this but not getting the textbox in the form.What to do please help me out dear. Txt.ID = "SubmitBtn" Txt.TextMode = TextBoxMode.MultiLine Txt.Height = New Unit(UnitType.Pixel, 24.0) Txt.Width = New Unit(UnitType.Pixel, 250) PlaceHolder1.Controls.Add(Txt) PlaceHolder1.Controls.Add(New LiteralControl(" **")) PlaceHolder1.Controls.Add(New LiteralControl("
")) PlaceHolder1.Controls.Add(New LiteralControl("
"))Mohinder Singh
**
-
i am doing this but not getting the textbox in the form.What to do please help me out dear. Txt.ID = "SubmitBtn" Txt.TextMode = TextBoxMode.MultiLine Txt.Height = New Unit(UnitType.Pixel, 24.0) Txt.Width = New Unit(UnitType.Pixel, 250) PlaceHolder1.Controls.Add(Txt) PlaceHolder1.Controls.Add(New LiteralControl(" **")) PlaceHolder1.Controls.Add(New LiteralControl("
")) PlaceHolder1.Controls.Add(New LiteralControl("
"))Mohinder Singh
**
-
Textbox Txt = new Textbox(); in c# or Dim Txt as new Textbox in VB try these... else drag and drop one..
Kunal