disabled textbox test

Discussion in 'ASP .Net Web Controls' started by mkiger, Oct 25, 2005.

  1. mkiger

    mkiger Guest

    Hey Guys,
    I have an asp.net (VB.NET) app and on one page I want certain textboxes to
    appear like lables based on certain permissions. I've disabled them, set
    thier borderstyle to none and set thier color to transparent and almost
    doest. The only proble is that the text has that look like it's engraved or
    something. I would like it to have a normal appearance like a label. Any
    feedback would be appreciated.
    mkiger
     
    mkiger, Oct 25, 2005
    #1
    1. Advertisements

  2. Set ReadOnly="True" instead of disabling them.

    --
    HTH,
    Phillip Williams
    http://www.societopia.net
    http://www.webswapp.com


    "mkiger" wrote:

    > Hey Guys,
    > I have an asp.net (VB.NET) app and on one page I want certain textboxes to
    > appear like lables based on certain permissions. I've disabled them, set
    > thier borderstyle to none and set thier color to transparent and almost
    > doest. The only proble is that the text has that look like it's engraved or
    > something. I would like it to have a normal appearance like a label. Any
    > feedback would be appreciated.
    > mkiger
     
    Phillip Williams, Oct 25, 2005
    #2
    1. Advertisements

  3. mkiger

    mkiger Guest

    Thank you very much... worked like a charm.

    "Phillip Williams" wrote:

    > Set ReadOnly="True" instead of disabling them.
    >
    > --
    > HTH,
    > Phillip Williams
    > http://www.societopia.net
    > http://www.webswapp.com
    >
    >
    > "mkiger" wrote:
    >
    > > Hey Guys,
    > > I have an asp.net (VB.NET) app and on one page I want certain textboxes to
    > > appear like lables based on certain permissions. I've disabled them, set
    > > thier borderstyle to none and set thier color to transparent and almost
    > > doest. The only proble is that the text has that look like it's engraved or
    > > something. I would like it to have a normal appearance like a label. Any
    > > feedback would be appreciated.
    > > mkiger
     
    mkiger, Oct 25, 2005
    #3
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?QW5kcsOpcyBPcnTDrXo=?=

    Disabled copy paste in TExtBox

    =?Utf-8?B?QW5kcsOpcyBPcnTDrXo=?=, Jun 8, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    1,996
    willow
    Jun 9, 2005
  2. PJ6
    Replies:
    2
    Views:
    755
  3. Replies:
    4
    Views:
    8,580
  4. =?Utf-8?B?VG90eSBTYW50YW5h?=

    Disabled TextBox

    =?Utf-8?B?VG90eSBTYW50YW5h?=, Sep 27, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    511
    Mark Rae
    Sep 27, 2006
  5. hal
    Replies:
    1
    Views:
    1,431
    Alexey Smirnov
    May 21, 2008
  6. Skybuck Flying

    Call oddities: &Test() vs &Test vs Test

    Skybuck Flying, Oct 4, 2009, in forum: C Programming
    Replies:
    1
    Views:
    1,029
    Skybuck Flying
    Oct 4, 2009
  7. M O J O

    Disabled textbox is nothing on postback :o(

    M O J O, Jun 29, 2006, in forum: ASP .Net Building Controls
    Replies:
    4
    Views:
    713
    Jesse Houwing
    Jul 9, 2006
  8. JS

    Disabled textbox??

    JS, Jun 1, 2005, in forum: Javascript
    Replies:
    1
    Views:
    182
    David Dorward
    Jun 1, 2005
Loading...