Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > CheckBox

Reply
Thread Tools

CheckBox

 
 
Ana Rita
Guest
Posts: n/a
 
      11-05-2003
Hello to all.

Itīs possible to set a checkbox to be read only like a
textbox?

Thanks

Ana Rita
 
Reply With Quote
 
 
 
 
Guest
Posts: n/a
 
      11-05-2003
Ana,

Yes, but you have to use the Enabled property of the
checkbox. checkbox1.Enabled = False

Jim

>-----Original Message-----
>Hello to all.
>
>Itīs possible to set a checkbox to be read only like a
>textbox?
>
>Thanks
>
>Ana Rita
>.
>

 
Reply With Quote
 
 
 
 
Guest
Posts: n/a
 
      11-05-2003
Ok,

But i have some styles in the page, and whem i disabled
the checkbox it turn gray, and i want it to be blue.

Thanks.
>-----Original Message-----
>Ana,
>
> Yes, but you have to use the Enabled property of the
>checkbox. checkbox1.Enabled = False
>
>Jim
>
>>-----Original Message-----
>>Hello to all.
>>
>>Itīs possible to set a checkbox to be read only like a
>>textbox?
>>
>>Thanks
>>
>>Ana Rita
>>.
>>

>.
>

 
Reply With Quote
 
Jim
Guest
Posts: n/a
 
      11-05-2003
That is done because of the browser IE 4 and above. Not
sure if there is a way around this. Check the help files.

>-----Original Message-----
>Ok,
>
>But i have some styles in the page, and whem i disabled
>the checkbox it turn gray, and i want it to be blue.
>
>Thanks.
>>-----Original Message-----
>>Ana,
>>
>> Yes, but you have to use the Enabled property of the
>>checkbox. checkbox1.Enabled = False
>>
>>Jim
>>
>>>-----Original Message-----
>>>Hello to all.
>>>
>>>Itīs possible to set a checkbox to be read only like a
>>>textbox?
>>>
>>>Thanks
>>>
>>>Ana Rita
>>>.
>>>

>>.
>>

>.
>

 
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
ASPNET CheckBox and a CheckBox in a TemplateField Jason Huang ASP .Net 0 06-29-2007 12:35 AM
DataGrid and embeded Checkbox..How to find if checkbox clicked =?Utf-8?B?RG90TmV0RGV2?= ASP .Net 1 10-06-2006 04:11 PM
disable checkbox list checkbox Vikram ASP .Net 1 01-25-2006 02:59 PM
Howto bind CheckBox to the datagrid/ Then update the database field when the checkbox is clicked. Joey Pang ASP .Net Datagrid Control 4 06-13-2005 02:29 AM
Text on Checkbox below the checkbox tshad ASP .Net 0 04-14-2005 11:26 PM



Advertisments