Current filter:
                                You should refresh the page.
                                Support Center
                                0
                                  • Code to reproduce (just place in any .ASPX page):

                                    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
                                    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
                                    <html xmlns="http://www.w3.org/1999/xhtml">
                                        <head runat="server">
                                            <title></title>
                                        </head>
                                        <body>
                                            <form id="form1" runat="server">
                                                <asp:ScriptManager ID="ScriptManager1" runat="server" />
                                                <asp:UpdatePanel runat="server" ID="updPanel">
                                                    <ContentTemplate>
                                                        <devex:ASPxComboBox runat="server" ID="cbxTest" ClientInstanceName="ciTest" ValueType="System.Int32">
                                                            <Items>
                                                                <devex:ListEditItem Text="First" Value="23" />
                                                                <devex:ListEditItem Text="Second" Selected="true" Value="45" />
                                                                <devex:ListEditItem Text="Third" Value="67"/>
                                                            </Items>
                                                        </devex:ASPxComboBox>
                                                        <a href="javascript:ciTest.SetSelectedIndex(-1);">Reset</a>
                                                        <asp:Button runat="server" Text="Postback" />
                                                    </ContentTemplate>
                                                </asp:UpdatePanel>
                                            </form>
                                        </body>
                                    </html>

                                    Steps to Reproduce:

                                    1. Open page; The second item is selected [correct]

                                    2. Select any other item; press "Postback". The new value stays after the postback [correct]

                                    3. Press "Reset". The combobox clears [correct]

                                    4. Press "Postback". The combobox has reset to the value selected in step 2. [incorrect]

                                    Actual Results:

                                    Combobox cannot be reset to empty on client side. Any postback causes the previous value to reappear.

                                    Expected Results:

                                    After being reset to empty on client side, combobox stays empty even after postbacks. SelectedIndex is -1 and Value is null.

                                0

                                Hi,

                                Thank you for the report. I've tried to reproduce this problem using the latest Suite version (10.2.4) but failed. Please install the same Suite version, upgrade your application as it is explained in the Upgrade Notes topic and check how your application works. Please keep us informed of your results.

                                Thanks,
                                Plato

                                To start a chat you should create a support ticket


                                If you need additional product information, write to us at info@devexpress.com or call us at +1 (818) 844-3383

                                FOLLOW US

                                DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, along with high-performance HTML JS Mobile Frameworks for developers targeting iOS, Android and Windows Phone. Whether using WPF, Silverlight, ASP.NET, WinForms, HTML5 or Windows 8, DevExpress tools help you build and deliver your best in the shortest time possible.

                                Copyright © 1998-2014 Developer Express Inc.
                                All trademarks or registered trademarks are property of their respective owners