[thelist] ReadOnly TextBox BackColor ??

VOLKAN ÖZÇELİK volkan.ozcelik at gmail.com
Mon Aug 15 01:42:41 CDT 2005


You should give cssClass attribute, not class if I do not remember wrong:

 <asp:textbox cssClass="readonly" readonly="true" id="notesBox"
 textmode="multiline" columns="40" rows="5" runat="server" />

Cheers,
Volkan.

On 8/13/05, Casey <aspnet at thecrookstons.com> wrote:
> 
> 
> > The below works for me;
> >
> > HTH,
> > Volkan.
> >
> > <style type="text/css" media="all">
> > input.readonly {
> > background:#aaccff;
> > }
> > </style>
> >
> >
> > <input type="text" class="readonly" readonly="readonly"  value="hi there"
> />
> 
> 
> Hmm.  How about with this:
> 
> <asp:textbox class="readonly" readonly="true" id="notesBox"
> textmode="multiline" columns="40" rows="5" runat="server" />
> 
> ??
> 
> --
> 
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
> 
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !
>


More information about the thelist mailing list