473,942 Members | 13,097 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Checkbox ReadOnly

Hi every body,

How can i have a readonly checkbox and checkboxlist ?

thanks very much.
Nov 18 '05 #1
6 2375
write a simple control which renders as image
as for the checkboxlist, put this simple control into a
repeater/datalist/....
Nov 18 '05 #2
write a simple control which renders as image
as for the checkboxlist, put this simple control into a
repeater/datalist/....
Nov 18 '05 #3
thank you.

Does a simple way exist ?
"Konrad Rotuski" <konrad@_SPAM_K ILLER_eracent.c om> a écrit dans le message
de news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..
write a simple control which renders as image
as for the checkboxlist, put this simple control into a
repeater/datalist/....

Nov 18 '05 #4
thank you.

Does a simple way exist ?
"Konrad Rotuski" <konrad@_SPAM_K ILLER_eracent.c om> a écrit dans le message
de news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..
write a simple control which renders as image
as for the checkboxlist, put this simple control into a
repeater/datalist/....

Nov 18 '05 #5
Try Enabled=false!

"Cyril" <p@s.besoin> wrote in message news:<uZ******* *******@TK2MSFT NGP10.phx.gbl>. ..
Hi every body,

How can i have a readonly checkbox and checkboxlist ?

thanks very much.

Nov 18 '05 #6
Try Enabled=false!

"Cyril" <p@s.besoin> wrote in message news:<uZ******* *******@TK2MSFT NGP10.phx.gbl>. ..
Hi every body,

How can i have a readonly checkbox and checkboxlist ?

thanks very much.

Nov 18 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
1447
by: George | last post by:
Hi all, I have the following code to use checkboxes on my page: if instr(Request.form("chkWorkType"),"03") then response.write("<td width=""23%"" class=""detaillp""><input type=""checkbox"" name=""chkWorkType"" value=""03"" checked=""check"">Exterior</td>") else response.write("<td width=""23%"" class=""detaillp""><input type=""checkbox"" name=""chkWorkType"" value=""03"">Exterior</td>")
5
5644
by: Randell D. | last post by:
Folks, I have a few <INPUT TYPE=TEXT> tags that are readonly if a specific field has no value... these work fine. However, I also have checkboxes which I would like to have as readonly, but the same code doesn't work - Can someone suggest a solution? This is sample code extracted from my original code: // Before other input tags determine if they are read only or not,
4
15738
by: crjunk | last post by:
I want to set a textbox's ReadOnly value to the OPPOSITE value that the CheckBox has. For example: If the user checks the CheckBox then the ReadOnly property for the TextBox is set to False. The default value of the TextBox is set to false. Am I on the right path or am I totally off in left field? <input type="checkbox" name="chkCode1" value="ON" onclick="document.DisplayCodes.txtGrossPayroll1.readOnly !=...
2
9217
by: /.. | last post by:
Hi all, I'm working on a report display page that currently uses 5 checkboxlists with a total of 86 items to display values from 5 different tables in an Access database. The page works fine now. On presenting it to the users they pointed out that their users could change the values in the checkboxes and then print them out, ultimately documenting false information.
0
3113
by: andrei | last post by:
Hi Group, I have a checkbox column in a web datagrid which is related to a "Product in stock" property. The grid is in view mode, so the user can't (and shouldn't) change anything in the grid. What I need is to show a "ReadOnly" checkbox in the grid, but not a disabled one (grayed out). I'm using a template column and the only property I can set is "enabled".
2
1151
by: Agnes | last post by:
In my datagrid, there is a checkbox column, I did set myDatagrid.readonly = True, (I still can tick the checkbox) if I set myDatagrid.enabled = false, (i can disable the whole datagrid, however, user cannot scroll it ) Any simple method can make the datagrid (every column readonly) and scroll able ?? Thanks a lot
6
1726
by: Bill Nguyen | last post by:
I need to add a checkbox in front of all the rows in a datagrid so that users can select/unselect them. Any help is greatly appreciated! Bill
7
12612
by: sheldonlg | last post by:
I have a checkbox that I set by php code to be either "checked" or "". I want to disable the ability of the user to check or uncheck it. I tried "readonly", but that didn't work. Any suggestions?
0
1501
by: hazz | last post by:
The following code generates checkbox values from the database. Once the user selects/deselects checkbox values, is there a way to obtain the ID and Checkbox.Checked state from these BoundColumns so I can update the table they came from? Thank you. -Greg <asp:DataGrid id="ItemsGrid" runat="server" OnItemDataBound="Item_Bound" AutoGenerateColumns="False" AllowSorting="True"> <Columns> <asp:BoundColumn HeaderText="ID"
2
14154
by: =?Utf-8?B?UmljaA==?= | last post by:
How can I make a checkbox control ReadOnly - can't check or uncheck without having to set the Enabled Property to False? VB2005 I looked at the property sheet for the Checkbox control but did not see any property that looked like ReadOnly. Any suggestions appreciated. Thanks, Rich
0
9969
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11531
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
11120
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
11298
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9863
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
8219
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6087
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
6305
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
3511
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.