Problrm with CheckBox Control

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

  1. #1

    Default Problrm with CheckBox Control

    When I use CheckBox as a webcontrol (Server Control), I found that I cannot
    set it to left
    align.

    Like this:

    This is a label
    [x] This is my check box

    I need to see CheckBox on the position "T"

    But if I use HTML control, it's ok.

    How can I do ?




    Sara T. Guest

  2. Similar Questions and Discussions

    1. how to put checkbox control by using checkboxlist within the repeater?
      how to put checkbox control by using checkboxlist within the repeater?
    2. strange problrm
      On our small network (3 G4's - 450/800/powerbook, all running on 9.2 with FH9) one of the machins (G4 400) caanot read FH documents (only) which...
    3. Custom checkbox control and postback
      Hello, please help me I create a set of custom controls with IPostBackDataHandler, and postback processing. All worked correctly, only custom...
    4. Checkbox List Control
      Is there any way to reset the Checkbox List control in one line syntax rather than looping through it? Thanks Nitc3
    5. /!\ How to colorize selected checkbox in checkboxlist control ?
      Dear UseNet readers, Does anyone have any idea on how to colorize selected checkbox in checkboxlist control ? I've quite a huge checkboxlist...
  3. #2

    Default Re: Problrm with CheckBox Control

    Thanks a lot foy your replying
    Following is my code:

    <asp:Label id="Label2" runat="server">Label</asp:Label>
    <br>
    <asp:CheckBox id="CheckBox2" runat="server" Text="This is
    checkbox"></asp:CheckBox>
    <br>
    <asp:Label id="Label1" runat="server">Label</asp:Label>

    I found that on the rectangle [] of checkbox is not the same position of
    character "L"


    "Ken Cox [Microsoft MVP]" <BANSPAMken_cox@sympatico.ca> wrote in message
    news:#YTDo8dUDHA.2152@TK2MSFTNGP09.phx.gbl...
    > Hi Sara,
    >
    > Could you show us the code that isn't working for you? The following seems
    to
    > work:
    >
    > <form id="Form1" method="post" runat="server">
    > <asp:checkbox id="CheckBox1" runat="server" checked="True"
    > textalign="Left"></asp:checkbox>
    > <asp:label id="Label1" runat="server">Hello </asp:label>
    > </form>
    >
    > Ken
    >
    > "Sara T." <sarana@infoquest.co.th> wrote in message
    > news:ukGisqdUDHA.2052@TK2MSFTNGP10.phx.gbl...
    > When I use CheckBox as a webcontrol (Server Control), I found that I
    cannot
    > set it to left
    > align.
    >
    > Like this:
    >
    > This is a label
    > [x] This is my check box
    >
    > I need to see CheckBox on the position "T"
    >
    > But if I use HTML control, it's ok.
    >
    > How can I do ?
    >
    >
    >
    >
    >

    Sara T. 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