Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > style question

Reply
Thread Tools

style question

 
 
David Thielen
Guest
Posts: n/a
 
      04-10-2006
Hi;

When displaying a record (not editing - just displaying) and I am displaying
it in a FormView because what is shown depends on some of the record values,
what do you think works best:

1) Label or TextBox w/ TextBox.Enabled=false for the text fields?
2) For radio & check boxes - A Label stating the value, or a
RadioList/CheckBox.Enabled=false to display it?

--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

 
Reply With Quote
 
 
 
 
Phillip Williams
Guest
Posts: n/a
 
      04-10-2006
I think that this is a question of personal preferences. I prefer the labels
for display. I am inclined to not use disabled input controls for normal
display. I would only disable input controls upon conditional processing to
indicate to the user that certain options cannot be combined on the same
request. The input controls (whether textboxes, checkboxes or radio buttons)
usually invite the user to click on them, so if the purpose were only to
display the information, I would convert them to labels.
--
HTH,
Phillip Williams
http://www.societopia.net
http://www.webswapp.com


"David Thielen" wrote:

> Hi;
>
> When displaying a record (not editing - just displaying) and I am displaying
> it in a FormView because what is shown depends on some of the record values,
> what do you think works best:
>
> 1) Label or TextBox w/ TextBox.Enabled=false for the text fields?
> 2) For radio & check boxes - A Label stating the value, or a
> RadioList/CheckBox.Enabled=false to display it?
>
> --
> thanks - dave
> david_at_windward_dot_net
> http://www.windwardreports.com
>

 
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
DataGrid header style inconsistent with sortable column style cedoucette@alum.rpi.edu ASP .Net 0 10-14-2005 12:13 AM
All style tags after the first 30 style tags on an HTML page are not applied in Internet Explorer Rob Nicholson ASP .Net 3 05-28-2005 03:11 PM
Need help with Style conversion from Style object to Style key/value collection. Ken Varn ASP .Net Building Controls 0 04-26-2004 07:06 PM
Javascript Style Switcher that remebers current site style in use Hardeep Rakhra HTML 8 01-15-2004 08:00 PM
Style sheets, include one style within another (not inheritance) foldface@yahoo.co.uk HTML 1 11-24-2003 01:37 PM



Advertisments