CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Help me ! Please... How I do CheckBox Read Only

Print topic Send  topic

Author Message
greymalking

Posts: 4
Posted: 05/30/2005, 10:35 AM

Hello My friends....

Help Please... I need to create a CheckBox read only to presents the contents of my database, but the users can't modify your state. If I check the propriety "Disable" of CheckBox the colors of checkbox modify distinguished from others controls of page.

That is... the design of page is stange....

Somebody can I help me? Please

Thanks.... for assistance...

Greymalking....

e-mail:greymalking@bol.com.br
_________________
E-mail: Greymalking@bol.com.br
View profile  Send private message
peterr


Posts: 5971
Posted: 05/30/2005, 11:23 AM

The design is not strange - the Web browser simply displays disabled checkboxes in a different color. This is usually the standard and most users already know that when they see a grey checkbox then it is disabled. Possibly not all Web browsers do this, but if they do it then there must be a reason, right?
Possibly this is done so that users know that the checkbox is disabled and don't need to try to click on it to change it. Would you prefer that users try clicking on your checkbox and then contact you for support asking why it doesn't work?
In any case, here are other answers: http://www.google.com/search?hl=en&lr=&q=change+color+disabled+checkbox
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
greymalking

Posts: 4
Posted: 05/30/2005, 1:04 PM

Peterr...

Have other way to block the users modify the state of checkbox without to use the propriety "Disable" of checkbox in Code Charge Studio, the inputbox have the propriety "Read Only" it donīt permit modify your contents... how do this in to checkbox???

Thanks... Peterr

e-mail:greymalking@bol.com.br
_________________
E-mail: Greymalking@bol.com.br
View profile  Send private message
peterr


Posts: 5971
Posted: 05/30/2005, 3:07 PM

You can use any method that HTML allows - by modifying the HTML code. For readonly see: http://www.google.com/search?hl=en&q=checkbox+readonly
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
Dan Meehan
Posted: 06/28/2005, 1:03 PM

Here is the easiest way to simulate a readonly checkbox:

<input type="checkbox" onclick="return false;">
Harish Hussain
Posted: 08/01/2005, 11:57 PM

You can use this way :

<input name="checkbox1" type="checkbox" value="checkbox" onclick="return false">

Hope this helps!

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright Đ 2003-2004 by UltraApps.com  and YesSoftware, Inc.