Search

CheckedListBox DataSource, DisplayMember, ValueMember are hidden by Latief

Closed
as By Design Help for as By Design

2
Sign in to vote
0
Sign in to vote
Sign in
to vote
Type: Bug
ID: 115199
Opened: 5/26/2005 4:15:19 AM
Access Restriction: Public
0
Workaround(s)
0
User(s) can reproduce this bug
The CheckedListBox control does not have DataSource, DisplayMember, ValueMember properties , and after some investigation the control does have these properties but they are marked by an attribute [Browsable(false)] , so they don't appear in the property grid.

Is this a forgotten option or it is marked that way intentionally
Are these properties going to be removed after beta 2 !!
Details (expand)
Product Language
English
Version
Visual Studio 2005 Beta 2
Category
Other Controls
Operating System
Windows XP Professional
Operating System Language
US English
Steps to Reproduce
try to type
chk1.DataSource u will not be able to see the property in the Intellisence List , but
when u compile the compiler does not generate any errors regarding the undefined property
, so the property exisits but it is marked as not browsable
Actual Results
The Intellisence does not show the Properties(Data Source, DisplayMember, ValueMember)
Expected Results
The Intellisense Should display the Properties (Data Source, DisplayMember, ValueMember)
File Attachments
0 attachments
Sign in to post a comment.
Posted by Microsoft on 5/30/2005 at 4:28 AM
The Microsoft Sub-status is now "Reproduced"

Thanks for reporting this bug, we have been able to repro this issue and are investigating.

Thank you,
Vivek, VS2005 Product Team
Posted by Microsoft on 5/30/2005 at 10:28 AM
Thanks for the feedback however this is by design. We do not support data binding on the CheckedListBox control. These properties are inherited from it base class and cannot be removed so we hid them form the property grid and IntelliSense.

The Windows Forms Team.
Posted by Latief on 6/21/2005 at 11:10 AM
Well, actually I used the control in my project , and it seems to be databound correctly , and the data looks fine !!
so i wonder why u dont want it to be databind ?

Are these propeerties going to be by somemeans removed in the final release as i m depending on them in my work ? (to try to look for someother solution :) )

Posted by zeromus1 on 7/25/2006 at 11:46 AM
Well I just noticed that it looked like the databinding was working fine until I started adding items in non-sorted order to a sorted checkedlistbox and it sorted them OK, but did not sort the checkboxes along with it.