473,396 Members | 1,816 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Controls ReadOnly

Hello misters,

I never really thought about it before but it seems strange to me that the
checkbox, radiobutton and dropdownlist controls does not have a read-only
property.

I have a situation where I would like to have a read-only checkbox
radiobutton and dropdownlist controls and not have to use enabled = false.

Has anyone sub-classed the checkbox to add a read-only property or another
good solution ?

Any help will be appreciated.

Thanks in advance! Regards
--
http://www.alhambra-eidos.es/web2005/index.html
www.kiquenet.net

May 23 '07 #1
1 1195
Hi,
when i searched on internet, i got below link:
http://www.thescripts.com/forum/thread288155.html
--
Hope this helps.
Thanks and Regards.
Manish Bafna.
MCP and MCTS.

"Alhambra Eidos Kiquenet" wrote:
Hello misters,

I never really thought about it before but it seems strange to me that the
checkbox, radiobutton and dropdownlist controls does not have a read-only
property.

I have a situation where I would like to have a read-only checkbox
radiobutton and dropdownlist controls and not have to use enabled = false.

Has anyone sub-classed the checkbox to add a read-only property or another
good solution ?

Any help will be appreciated.

Thanks in advance! Regards
--
http://www.alhambra-eidos.es/web2005/index.html
www.kiquenet.net
May 23 '07 #2

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

Similar topics

1
by: Stefan W via .NET 247 | last post by:
I'm relatively new to C#, (I have to use it, now that I'veinherited someone else's projects). I'm looking for a way toiterate through the controls on a form; if the control is of acertain type, I...
0
by: bill yeager | last post by:
I have a datalist displaying parent information and a datagrid presenting child information. The data is being rendered just fine. The datagrid has template columns on it that I cannot gain access...
1
by: bill yeager | last post by:
I did some more debugging and found the following: 1) I placed the following code in the button event just to see if I could cycle thru the datagrid control collection: <code> Dim strhello As...
10
by: GP | last post by:
Is it possible to iterate through all the controls collection and make the textboxes alone as read only.I don't see a readonly property for the Control.Can some one help me in this context? I...
3
by: Tiësto | last post by:
Hi guys! Users of the web application I'm working on have said they don't like the visual effect that DISABLED property sets on controls. You know, the chiselled style. So now I have to look...
8
by: Antuane | last post by:
please help, i'm trying to find a simple & easy way of enabling & disabling (generally making them readonly) most of the controls in my form. Cuz i want to create a form, for the user but only a...
5
by: Vayse | last post by:
I have a form, and I only want the user to be able to change the controls if they click an Edit button. I want the user to able copy the data from my controls, even without clicking edit, so I...
7
by: RichG | last post by:
I want to lock all controls except the buttons on a form. I sometimes need the form to call lockForms(Me). public sub lockControls(frm as form) for each ctrl as control in frm if...
2
by: cjard | last post by:
Suppose: A TextBox is bound to a BindingSource, which is bound to a DataTable A BindingNavigator is used to alter the current row being looked at by the BindingSource (i.e. Nav's NEXT button is...
1
by: anilkumar1980 | last post by:
Hi All, Here I need help to all of u, I am using ASP.NET 2.0 and Third party Infragistic Controls. I Have included master page in my page (<%@ Page Language="VB"...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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...
0
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,...

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.