Click here to Skip to main content
15,905,566 members
Home / Discussions / C#
   

C#

 
Questionfetching the value of a datafield into a textbox Pin
Nitin.raj26-Nov-07 20:37
Nitin.raj26-Nov-07 20:37 
AnswerRe: fetching the value of a datafield into a textbox Pin
Sun Rays26-Nov-07 21:12
Sun Rays26-Nov-07 21:12 
GeneralRe: fetching the value of a datafield into a textbox Pin
Nitin.raj26-Nov-07 23:28
Nitin.raj26-Nov-07 23:28 
GeneralRe: fetching the value of a datafield into a textbox Pin
Sun Rays27-Nov-07 0:27
Sun Rays27-Nov-07 0:27 
AnswerRe: fetching the value of a datafield into a textbox Pin
KennyPatel26-Nov-07 21:39
KennyPatel26-Nov-07 21:39 
GeneralRe: fetching the value of a datafield into a textbox Pin
Nitin.raj26-Nov-07 23:25
Nitin.raj26-Nov-07 23:25 
Questionprogressbar along with task activity [modified] Pin
pradhumanksingh26-Nov-07 20:34
pradhumanksingh26-Nov-07 20:34 
AnswerRe: progressbar along with task activity Pin
Sun Rays26-Nov-07 21:16
Sun Rays26-Nov-07 21:16 
GeneralRe: progressbar along with task activity Pin
pradhumanksingh26-Nov-07 21:47
pradhumanksingh26-Nov-07 21:47 
GeneralRe: progressbar along with task activity Pin
Sun Rays26-Nov-07 21:52
Sun Rays26-Nov-07 21:52 
GeneralRe: progressbar along with task activity Pin
pradhumanksingh26-Nov-07 22:11
pradhumanksingh26-Nov-07 22:11 
GeneralRe: progressbar along with task activity Pin
Sun Rays26-Nov-07 22:38
Sun Rays26-Nov-07 22:38 
QuestionHow to disable a ListView item? Pin
arefkarimi26-Nov-07 20:25
arefkarimi26-Nov-07 20:25 
AnswerBlatant Multiposting Within 3 Minutes (Occurence: 1) : Please Ignore Pin
Vasudevan Deepak Kumar26-Nov-07 20:28
Vasudevan Deepak Kumar26-Nov-07 20:28 
QuestionHow to disable a ListVite item? Pin
arefkarimi26-Nov-07 20:23
arefkarimi26-Nov-07 20:23 
AnswerBlatant Multiposting within 1 minute :: Occurence: 2 (Please Ignore) Pin
Vasudevan Deepak Kumar26-Nov-07 20:30
Vasudevan Deepak Kumar26-Nov-07 20:30 
QuestionHow to disable a ListViewItem? Pin
arefkarimi26-Nov-07 20:22
arefkarimi26-Nov-07 20:22 
AnswerRe: How to disable a ListViewItem? Pin
KennyPatel26-Nov-07 21:42
KennyPatel26-Nov-07 21:42 
AnswerRe: How to disable a ListViewItem? Pin
mav.northwind26-Nov-07 21:59
mav.northwind26-Nov-07 21:59 
GeneralRe: How to disable a ListViewItem? Pin
arefkarimi26-Nov-07 22:33
arefkarimi26-Nov-07 22:33 
GeneralRe: How to disable a ListViewItem? Pin
mav.northwind27-Nov-07 1:57
mav.northwind27-Nov-07 1:57 
GeneralRe: How to disable a ListViewItem? Pin
Dave Kreskowiak27-Nov-07 9:03
mveDave Kreskowiak27-Nov-07 9:03 
Mav is dead on with his response. In order to do this, you'd have to roll your own ListView and ListViewItem classes to expose this kind of functionality.

If you don't want to do that, you could always just remove the disabled items from the ListView.

You really should read up on Windows GUI design guide. In there, it'll tell you why what you're doing is a bad idea. Something about a "consistant user experience". A ListView control is expected to provide a list of valid and selectable items. Turning off some items is an unexpected behavior for the control, thereby leading to confusion about how the control really works.



A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


Questionhow can i checked dynamicallay in gridview in windows. Pin
Rajeshwar Code- Developer26-Nov-07 19:55
Rajeshwar Code- Developer26-Nov-07 19:55 
AnswerRe: how can i checked dynamicallay in gridview in windows. Pin
Sun Rays26-Nov-07 19:57
Sun Rays26-Nov-07 19:57 
GeneralRe: how can i checked dynamicallay in gridview in windows. [modified] Pin
Rajeshwar Code- Developer26-Nov-07 20:07
Rajeshwar Code- Developer26-Nov-07 20:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.