aligning check

Problem:

a table with 2 columns: a columns of label and a column of textbox.

Now in the second column i'm adding a checkbox.

Problem: how to align it to textboxes The check has a little border that you can see when you check it. Isn't possible to enable it

Thx




Answer this question

aligning check

  • CapitanMiki

    pls give me an example of code...i can't find it...

    i have

    chk....



  • bobthebob

    manuel0081 wrote:
    what is onColumn


    You posted that the CheckBox whas on a column, but it is just a variable name. What code are you using and are you using the CheckBox class


  • AdamCCC

    manuel0081 wrote:
    I'm using VS 2003...


    This property is supported sinds .NET Framework 1.0


  • Allan Hirt

    I'm using VS 2003...

  • Stathread

    You can set the CheckBox.CheckAlign property to align the check mark on the control.


  • KitG

    the alignment of square...i have no text...

    the square has a border, margin or something else



  • Alexey Monastyrsky

    <TABLE id=Table1 cellSpacing=0 cellPadding=0 width="100%"
    border=0>
    <TR>
    <TD colSpan=2 height=5></TD></TR>
    <TR>
    <TD>
    <wbc:etichetta id=lblDenominazione runat="server">&nbsp;Denominazione&nbsp;</wbc:etichetta></TD>
    <TD width="100%">
    <wbc:testo id=txtDenominazione runat="server" Columns="100"></wbc:testo></TD></TR>
    <TR>

    <TR>
    <TD>
    <wbc:etichetta id=lblAbilitato runat="server">&nbsp;Abilitato&nbsp;</wbc:etichetta></TD>
    <TD width="100%">
    <wbc:check id=chkAbilitato runat="server" Text=""></wbc:check></TD></TR>
    <TR>

    where etichetta is label, check is checkbox and testo is textbox...

    now chkAbilitato.xxx there isn't checkalign!



  • Carlos Figueroa

    i haven't that property, i'm using a simple CheckBox..what is onColumn ....i have not datagrid...



  • abrewerton

    You are welcome, i hope your problem will be solved soon!


  • basmar


    myCheckBoxOnColumn.CheckAlign = ContentAlignment.MiddleRight;


    Nothing less, nothing more.


  • Shaun Hayward

    up

  • jorgew

    What do you mean with the alignment, the alignment of the Text


  • MohammadSamara

    You are using ASP.NET Webforms. The best place to ask ASP.NET questions is over on the ASP.NET forums at http://www.asp.net/

    The property i gave is for the System.Windows.Forms.CheckBox class.
    Check over in the ASP.NET forums.


  • Keith Buik

    AAAAAAAAAAAAAAAH OK

    Thx!!!



  • aligning check