Formatting Drop Down List
Formatting Drop Down List
Formatting Drop Down List
Formatting Drop Down List
Formatting Drop Down List
Formatting Drop Down List Formatting Drop Down List Formatting Drop Down List Formatting Drop Down List Formatting Drop Down List Formatting Drop Down List Formatting Drop Down List Formatting Drop Down List
Formatting Drop Down List Formatting Drop Down List
Formatting Drop Down List
Go Back  Xtreme Visual Basic Talk > > > Formatting Drop Down List


Reply
 
Thread Tools Display Modes
  #1  
Old 07-13-2008, 11:36 PM
tsy tsy is offline
Freshman
 
Join Date: May 2003
Posts: 30
Default Formatting Drop Down List


Hi all,

here's a question...

Can a Drop Down List be formatted such that when the property enabled is set to false, it isn't greyed out.

Im trying to create the Item template for a FormView and have some drop down lists that display values. In this template, id like to make the drop down lists uneditable without making them greyed out because this makes them look like they arent part of the data.

i've not been able to find anything yet that works

any help would be awesome
Reply With Quote
  #2  
Old 07-15-2008, 01:15 PM
lebb's Avatar
lebbFormatting Drop Down List lebb is offline
Disillusioned Code Poet

Retired Moderator
* Guru *
 
Join Date: Apr 2002
Location: Tennessee, USA
Posts: 12,808
Default

I believe you should be able to set those cells to ReadOnly = true instead of Enabled = false.
__________________
Laura

Ita erat quando hic adveni.
Reply With Quote
  #3  
Old 07-15-2008, 08:50 PM
tsy tsy is offline
Freshman
 
Join Date: May 2003
Posts: 30
Default

Thanks for your reply,

unfortunately the drop down list doesn't have a readOnly property.

there are some third party products available i've found that extend this control, and add that property...

however i've just decided to make my formview always editable, who needs a read only view anyway... it just adds another click and page load to the equation.

cheers
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Formatting Drop Down List
Formatting Drop Down List
Formatting Drop Down List Formatting Drop Down List
Formatting Drop Down List
Formatting Drop Down List
Formatting Drop Down List Formatting Drop Down List Formatting Drop Down List Formatting Drop Down List Formatting Drop Down List Formatting Drop Down List Formatting Drop Down List
Formatting Drop Down List
Formatting Drop Down List
 
Formatting Drop Down List
Formatting Drop Down List
 
-->