J
jc
This has to be something really stupid. I'm getting the above error on
the second to last line of this code.
I just want set the textbox's TextMode to multiline.
namespace BaseWSP{
public class BaseWSP : System.Web.UI.WebControls.WebParts.WebPart
{
TextBox text_box_input = new TextBox();
Label labelmsg = new Label();
Button button_submit = new Button();
Button button_reset = new Button();
DropDownList ddl = new DropDownList();
protected override void CreateChildControls()
{
text_box_input.ID = "txt_input";
text_box_input.TextMode = "multiline";
text_box_input.Rows = 15;
Thanks for any help or information.
the second to last line of this code.
I just want set the textbox's TextMode to multiline.
namespace BaseWSP{
public class BaseWSP : System.Web.UI.WebControls.WebParts.WebPart
{
TextBox text_box_input = new TextBox();
Label labelmsg = new Label();
Button button_submit = new Button();
Button button_reset = new Button();
DropDownList ddl = new DropDownList();
protected override void CreateChildControls()
{
text_box_input.ID = "txt_input";
text_box_input.TextMode = "multiline";
text_box_input.Rows = 15;
Thanks for any help or information.