Bug Report B133617
Visible to All Users

Data in hidden Checkbox columns is always displayed as unchecked in edit forms

created 16 years ago

The CheckEdit is always unchecked in the edit form when Visible = false
Steps to Reproduce:
Place a CheckEdit on an ASPxTreeList
Set Visible = false
Set EditFormSettings.Visible = true
Actual Results:
checkbox always unchecked

Show previous comments (5)

    I can't understand why this should be by design when the ASPXGridView does not show this behavior and also ASPxTreeList works correct when the CheckBoxColumn is set to Visible=true ??
    To reproduce it simply exchange following lines in your test project:
    <dxwtl:TreeListCheckColumn FieldName="Discontinued" VisibleIndex="2"
                        Visible="False">
                        <EditFormSettings Visible="True" />
                        <PropertiesCheckEdit ValueChecked="1" ValueType="System.Int32" ValueUnchecked="0">
                        </PropertiesCheckEdit>
                    </dxwtl:TreeListCheckColumn>
    and change the Data Type of "Discontinued" in Products of Northwind db to tinyint.
    Then you will find the same problem as I have with mysql and the mysql database provider.
    You are right the datatype is not exactly the same but can be converted from the .NET framework which works fine in ASPxGridView (I have thousends auf ASPxGridView tables where the same situation works fine!!) and also in ASPxTreeView when the column is visible.

    DevExpress Support Team 16 years ago

      Sorry, we have not been able to find an immediate answer or resolution. Please bear with us. We will inform you as soon as an answer has been found.

      DevExpress Support Team 16 years ago

        Hi Andreas,
        Thank you for the additional information. Due to some reason it works in the ASPxGridView. However, we strongly recommend that you set the proper ValueType for the column. We'll research this issue further, and possibly improve the ASPxTreeList.
        Thanks,
        Michael.

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.