[CLOSED] DropDownField with Mode = ValueText making Value = EmptyText

  1. #1

    [CLOSED] DropDownField with Mode = ValueText making Value = EmptyText

    Hi,

    When I use a DropDownField with Mode = ValueText, the DropDownField's value is the same as the EmptyText.

    Code to reproduce bellow. Just press the button.

    THANKS

    <%@ Page Language="C#" %>
    
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <script runat="server">
        protected void Unnamed_DirectClick(object sender, DirectEventArgs e)
        {
            X.Msg.Alert(Field1.Value as string, Field1.Value as string).Show();
        }
    </script>
    
    
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head id="Head1" runat="server">
        <title>DropDownField Overview - Ext.NET Examples</title>
    </head>
    <body>
        <form id="Form1" runat="server">
            <ext:ResourceManager ID="ResourceManager1" runat="server" />
    
            <ext:DropDownField ID="Field1" EmptyText="123" runat="server"  Mode="ValueText" />
            <ext:Button ID="Button1" runat="server" Text="Test" Icon="Magnifier" Scale="Medium" Width="90"
                OnDirectClick="Unnamed_DirectClick" />
        </form>
    </body>
    </html>
    Last edited by Daniil; Oct 19, 2012 at 12:38 PM. Reason: [CLOSED]
  2. #2
    Hi @SouthDeveloper,

    Thank you for the report! We will investigate.
  3. #3
    It has been fixed. Please update.
  4. #4
    Fixed!

    THANKS

Similar Threads

  1. [CLOSED] EmptyText GridPanel
    By osef in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Sep 04, 2012, 6:45 PM
  2. [CLOSED] DropDownField is not aligned 100% in Readonly mode
    By thchuong in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jun 25, 2012, 10:55 AM
  3. [CLOSED] DropDownField: EmptyText messes it all up?
    By wagger in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Apr 12, 2011, 1:33 PM
  4. [1.0] Field EmptyText
    By Timothy in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Mar 11, 2010, 3:47 PM
  5. TextField.EmptyText and Radio's
    By dlouwers in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Jan 13, 2009, 12:26 PM

Posting Permissions