System.Web.UI.WebControls Namespace

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default System.Web.UI.WebControls Namespace

    Does anyone have any sample code on code on creating
    tables/rows and cells using above namespace and adding
    checkbox controls to my cells?

    Thanks,
    CG.
    CG Guest

  2. Similar Questions and Discussions

    1. add reference for System.Web.UI.webcontrols which dll?
      Which dll should i add a reference to to get this. i've added System.Web.UI, but this does not give me WebControls. thanks kes
    2. installing system.web.ui.webcontrols
      Hello, Im workin with ASP.NET and trying to add reference system.web.ui.webcontrols. I can't find it, and i don't see it in the framework...
    3. Inheriting from System.Web.UI.WebControls.Table
      I am trying to create an ASP.NET control by inheriting from Table. I would like to stop the Rows property from being displayed/persisted at...
    4. The type System.Web.UI.WebControls.TextBox in Assembly System.Web...error
      I've been getting this error every since I installed InstallSqlState to handle my viewState Sessions. it only happens on 1 section of my asp.net...
    5. System.Web.UI.WebControls.TextBox events
      hi guys, I donīt see a Click Event or DblClick Event, how to implement code for this events? Is it posible? (if not) how to do a fake?...
  3. #2

    Default Re: System.Web.UI.WebControls Namespace


    HtmlTable table = new HtmlTable();
    HtmlTableRow row = new HtmlTableRow();
    HtmlTableCell cell = new HtmlTableCell();
    CheckBox check = new CheckBox();
    check.ID = "MyCheck";
    check.Text = "Check it...";
    cell.Controls.Add(check);
    row.Cells.Add(cell);
    table.Rows.Add(row);

    Page.Controls[1].Controls.Add(table);

    "CG" <cg@nospam> wrote in message news:02d001c35de8$aa243000$a301280a@phx.gbl...
    > Does anyone have any sample code on code on creating
    > tables/rows and cells using above namespace and adding
    > checkbox controls to my cells?
    >
    > Thanks,
    > CG.
    carlos medina Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139