Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > disabled textbox test

Reply
Thread Tools

disabled textbox test

 
 
mkiger
Guest
Posts: n/a
 
      10-25-2005
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
 
Reply With Quote
 
 
 
 
Phillip Williams
Guest
Posts: n/a
 
      10-25-2005
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

 
Reply With Quote
 
 
 
 
mkiger
Guest
Posts: n/a
 
      10-25-2005
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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Disabled TextBox =?Utf-8?B?VG90eSBTYW50YW5h?= ASP .Net 1 09-27-2006 06:31 AM
TextBox - no value if disabled? matt@mailinator.com ASP .Net 4 07-28-2006 03:04 PM
textbox ignores disabled viewstate? PJ6 ASP .Net 2 12-02-2005 10:36 PM
Disabled copy paste in TExtBox =?Utf-8?B?QW5kcsOpcyBPcnTDrXo=?= ASP .Net 1 06-09-2005 01:53 AM
test test test test test test test Computer Support 2 07-02-2003 06:02 PM



Advertisments