Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2715
Value List weird behaviour
posted

Hi !

I have a value list wich i apply to a column.

this is my value list :

 

 ValueList values = new ValueList();

 

            _cmd = new OracleCommand("select id, name from users", _conn);

            OracleDataReader odr = _cmd.ExecuteReader();

            if (odr != null && odr.HasRows) {

                while (odr.Read()) {

                    string id = odr[0].ToString();

                    string name = odr[1].ToString();

 

                    ValueListItem item = new ValueListItem(id, name);

                    values.ValueListItems.Add(item);

                }

            }

odr.Close();

 

 

So, this I apply to a column, and everything seems to be ok - it transforms the underneath ids to names, it saves any modification, etc.

My problem is when i try to insert something by typing in the value list. If i'm typing a name that does not exist in the loaded users, the characters are appearing very slow - there's something like a delay.

I type "asdfghjkl" and the characters are displayed in about 5 secs.

If i type a name that exists in the value list everything is ok. Also, it's ok if i type numbers, like "2334532654654".

Do you have any idea what's happening ?

Thank you!