Support

Breaking Changes in v2009 vol 2.8

 

This page lists important behavior and API changes, which were introduced in this version. If you already have projects using DXperience, you will need to peruse this list in order to understand the changes you might need to make to your source code to support this new release.

Note that we only publish the changes to the public interface of our controls. We reserve the right to change the protected, internal, or private interfaces when needed.

Table of Contents

ASPxGridView and Editors Suite

  • After fixing the B140969 bug, the ASPxComboBox's GetText client method returns a text of the currently selected item rather than the item's index.

    If this affects your project, replace the GetText method with the client GetSelectedIndex method.

  • ASPxListBox/ASPxComboBox - Item selection behavior is changed, when an editor is manually re-bound via the server DataBind method after applying the client state to the editor

    Previously, if an editor's SelectedIndex property was explicitly initialized via ASPX markup or server code (within the Init event handler of the editor or page, for instance), the editor ignored the selection made on the client side, if the editor was manually rebound on the server after applying the client state to it. In this scenario, the editor selected the item initially specified via the SelectedIndex property.

    Now, after such manual re-binding, the editor always selects the item being last selected on the client side.

eXpressApp Framework

  • ASPxEnumPropertyEditor now raises an ArgumentOutOfRangeException, if a property's value isn't declared in the property type enumeration.

    The exception occurs when the property is automatically initialized to zero while the property type enumeration doesn't have a zero index value. To avoid the exception, initialize the property with a correct enumeration value in the business class' AfterConstruction method.

    [C#]

    public enum TestEnum { Item1 = 1, Item2 = 2 }
              [DefaultClassOptions]
              public class DomainObject : BaseObject
              {
                  public DomainObject(Session session) : base(session) { }
                  private TestEnum testEnumProperty;
                  public TestEnum TestEnumProperty
                  {
                      get { return testEnumProperty; }
                      set { SetPropertyValue("TestEnumProperty", ref testEnumProperty, value); }
                  }
                  public override void AfterConstruction() {
                      base.AfterConstruction();
                      TestEnumProperty = TestEnum.Item1;
                  }
              }

  • ASPxHtmlEditorEx - This control has been removed.

    Use the ASPxHtmlEditor instead.

  • The 'ASPxHtmlEditor_xaf.skin' skin file has been removed.

    This file should be manually removed from existing projects.

More from DevExpress
Live Chat
Have a pre-sales question?
Need assistance with your evaluation?
We are here to help.
Chat is one of the many ways you can contact members of the DevExpress Team. We are available Monday-Friday between 8:30am and 5:00pm Pacific Time.
If you need additional product information, require pre-sales assistance, or want help with your order, write to us at info@devexpress.com or call us at
+1 (818) 844-3383.