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 forward other kind of solution, so the users cannot
modify the content or selection until I let them. The problem is that there
isn't a common READONLY property for all controls. Actually, only input
type=text will let me use that property. I need to emulate this behavior for
these tags:
CheckBoxes: I found that onclick="return false;" will work, though
it's not what I like.
RadioButtons: Can't get them to work neither with scripts, nor with
properties.
DropDown and ListBoxex (SELECT tag) Any Idea?
If you have passed through this, please drop me a line. Please remember I
can't use disabled property.
Thanks a lot! 3 3498
Can you just turn everything to labels instead of their controls??
"Tiësto" wrote: 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 forward other kind of solution, so the users cannot modify the content or selection until I let them. The problem is that there isn't a common READONLY property for all controls. Actually, only input type=text will let me use that property. I need to emulate this behavior for these tags:
CheckBoxes: I found that onclick="return false;" will work, though it's not what I like. RadioButtons: Can't get them to work neither with scripts, nor with properties. DropDown and ListBoxex (SELECT tag) Any Idea?
If you have passed through this, please drop me a line. Please remember I can't use disabled property.
Thanks a lot!
for readonly controls, i render them as literals instead, (with a disabled
style). for checkboxs / radio i output the appropriate gif. if you subclass
the controls its easy to add a readonly property. you can store the values
in viewstate or a hidden field.
-- bruce (sqlwork.com)
"Tiësto" <a@a.com> wrote in message
news:O$**************@TK2MSFTNGP11.phx.gbl...
| 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 forward other kind of solution, so the users cannot
| modify the content or selection until I let them. The problem is that
there
| isn't a common READONLY property for all controls. Actually, only input
| type=text will let me use that property. I need to emulate this behavior
for
| these tags:
|
| CheckBoxes: I found that onclick="return false;" will work, though
| it's not what I like.
| RadioButtons: Can't get them to work neither with scripts, nor with
| properties.
| DropDown and ListBoxex (SELECT tag) Any Idea?
|
| If you have passed through this, please drop me a line. Please remember I
| can't use disabled property.
|
| Thanks a lot!
|
|
|
I've proposed that approach, but it'd involve an unnacceptable amount of
work, al least for the moment.
"MikeL" <Mi***@discussions.microsoft.com> wrote in message
news:00**********************************@microsof t.com... Can you just turn everything to labels instead of their controls??
"Tiësto" wrote:
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 forward other kind of solution, so the users cannot modify the content or selection until I let them. The problem is that there isn't a common READONLY property for all controls. Actually, only input type=text will let me use that property. I need to emulate this behavior for these tags:
CheckBoxes: I found that onclick="return false;" will work, though it's not what I like. RadioButtons: Can't get them to work neither with scripts, nor with properties. DropDown and ListBoxex (SELECT tag) Any Idea?
If you have passed through this, please drop me a line. Please remember I can't use disabled property.
Thanks a lot! This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Dannyboyo |
last post by:
I have what I hope is a simple request. I can't really code in javascript, but I am pretty good at cusomizing it with
slight modifications. I code in ASP and HTML.
I am trying to capture customer...
|
by: Patrick Spieler |
last post by:
hello
is there an easy way to set the whole aspx-webform in a read-only mode?
i'm thinking about a generic solution via basepage which replace the
controls
on the fly (dropdown with...
|
by: Kate Hudson |
last post by:
I'm creating a Web Form that has a lot of controls. The first control is an HTML DropDown that contains IDs populated through an ADODB Recordset object. I would like to dynamically fetch data in...
|
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...
|
by: Cheryl |
last post by:
I have grabbed a menu from a javascript site (
http://www.dynamicdrive.com/dynamicindex1/topmen3/index.htm ) and added to
my page.
The problem is however the dropdown comes down on top of text and...
| |
by: **Developer** |
last post by:
I want to have a ComboBox that is loaded programmically not except keyboard
inputs.
I tried in KeyDown not calling MyBase.OnKeyDown(e)
and also tried setting e.Handled = True but neither appear...
|
by: jung_h_park |
last post by:
From: jung_h_park@yahoo.com
Newsgroups: microsoft.public.dotnet.framework.aspnet
Subject: Dropdown List not retaining its SelectedValue
Date: Mon, 26 Jun 2006 21:02:57 -0700
Hello,
My...
|
by: SF |
last post by:
Hi,
I am new to ASP.NET. I have started to create a new ASP.NET web. I can
succesfully insert a table into a form but my form does not look good
becuase some filed (from table) are foreigh key...
|
by: Shutey |
last post by:
I have a strange issue with dropdowns. Using php4, mySQL5, Apache 2 on
a fast XP pro PC, I have a form which requires 5 dropdowns populated
with indentical values. I extract the values using SQL...
|
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,...
|
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,...
| |
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...
|
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...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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...
| |