Bug Report T285053
Visible to All Users
Duplicate

We have closed this ticket because another page addresses its subject:

ASPxTextBox - When an editor is disabled on the client side, its Text is cleared after a postback

In IE7 Compatibility Mode ASPxComboBox does not have a value on a callback on the server side if it is disabled on the client side

created 10 years ago (modified 10 years ago)

Hi,

In IE11, ieCompatibilityVersion="7"  cannot get value of AspxComboBox on server side if combo box is SetEnabled(false).
Working fine if ieCompatibilityVersion="edge".

Thank you

Comments (1)
Artem (DevExpress Support) 10 years ago

    We need additional time to check this scenario. Please bear with us.

    Answers approved by DevExpress Support

    created 9 years ago

    We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

    Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

      created 10 years ago

      Hello,
      In fact, the browser collects input values of enabled controls only. As a result, when ASPxComboBox is disabled by SetEnabled(false), it does not receive a value from the client on the server side. Similar questions were discussed in the following tickets:
      B202991: ASPxTextBox - When an editor is disabled on the client side, its Text is cleared after a postback
      B202968: ASPxTextBox - Text set by the SetText method is not persisted on postbacks if the text box is disabled
      Q276621: ASPxTextBox ClientEnabled="false" loses value after postback
      However, you said that this behavior only occurs in IE with ieCompatibilityVersion="7" and does not occur in IE 11. It seems strange, because this behavior is expected and should be applicable for all browsers.
      Would you please provide me with a sample project where a value of ASPxComboBox is available on the server side when it is disabled on the client? I would like to research this issue in greater detail.

        Comments (2)
        Aleksandar Živković 10 years ago

          Here is example. Select value in first combo. Than click button. Works in all browsers except in IE, when is ieCompatibilityVersion="7".

          Nastya (DevExpress Support) 9 years ago

            Hello,
            Thank you for the provided sample. I've reproduced the issue and see that a value of ASPxComboBox is not available on a callback. I have forwarded this ticket to our developers for further investigation. We will contact you as soon as we have any results.

            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.