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

  • km5gn

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


  • Kris Taeleman

    up

  • Josh_R

    I'm using VS 2003...

  • littleton.1

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

    the square has a border, margin or something else



  • Peter Tübben


    myCheckBoxOnColumn.CheckAlign = ContentAlignment.MiddleRight;


    Nothing less, nothing more.


  • PSinclair

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

    i have

    chk....



  • K42

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



  • SteveHagget

    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


  • JeffJ

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


  • Daksh Khatter

    <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!



  • PaloMisik

    AAAAAAAAAAAAAAAH OK

    Thx!!!



  • Ram Pamulapati

    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.


  • christinamarygeprge

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


  • Jack H

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


    This property is supported sinds .NET Framework 1.0


  • aligning check