[CLOSED] Combobox and Case Sensitive Search + EnableRegEx

  1. #1

    [CLOSED] Combobox and Case Sensitive Search + EnableRegEx

    Hello
    I have a toruble with EnableRegEx

    once set to true, I can match "inside the string", howvever only case sensitive
    if set back to false, its case insensitive

    Problem can be demonstrated using code below

    So I would like to
    type "mra" and get filtered "Ferda Mravenec"
    It works only if I type "Mra"

    Thanks
    Zdenek

    <%@ Page Language="C#" %>
      
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
      
    <script runat="server">
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!X.IsAjaxRequest)
            {
                Store store = this.ComboBox1.GetStore();
                store.DataSource = new object[] 
                { 
                    new object[] { "1", "Ferda Mravenec" },
                    new object[] { "2", "Brouk Pytlik" },
                    new object[] { "3", "Slunicko Sedmitecne" },
                };
                store.DataBind();
            }
        }
    </script>
      
    <!DOCTYPE html>
     
    <html>
    <head runat="server">
        <title>Ext.NET v2 Example</title>
    </head>
    <body>
        <ext:ResourceManager runat="server" />
        <ext:ComboBox
            ID="ComboBox1"
            runat="server"
            QueryMode="Local"
    CaseSensitive="false"
            EnableRegEx="true">
            <Store>
                <ext:Store runat="server">
                    <Model>
                        <ext:Model runat="server">
                            <Fields>
                                <ext:ModelField Name="value" />
                                <ext:ModelField Name="text" />
                            </Fields>
                        </ext:Model>
                    </Model>
                </ext:Store>
            </Store>
        </ext:ComboBox>
    </body>
    </html>
    Last edited by Daniil; Jan 30, 2015 at 1:43 PM. Reason: [CLOSED]
  2. #2
    Hello,

    I think it is an open issue.

    The related discussion is here: http://forums.ext.net/showthread.php...Case-sensitive

Similar Threads

  1. [OPEN] [#320] RegEx Case sensitive
    By farallones in forum 2.x Legacy Premium Help
    Replies: 4
    Last Post: Aug 08, 2013, 6:04 AM
  2. [CLOSED] Resourcemanager.Locale is case sensitive
    By betamax in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Sep 13, 2012, 12:38 PM
  3. [CLOSED] Need ability to search combobox items by lower case or upper case
    By wisdomchuck in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jul 23, 2012, 1:40 PM
  4. [CLOSED] Data selection case sensitive on Store with row selection issue
    By ljcorreia in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: Oct 20, 2010, 2:30 PM
  5. grid sorting case sensitive?
    By [WP]joju in forum 1.x Help
    Replies: 2
    Last Post: Sep 22, 2009, 6:15 AM

Posting Permissions