Show all items when selected item's text is deleted

5 posts, 1 answers
  1. Vasssek
    Vasssek avatar
    190 posts
    Member since:
    Aug 2010

    Posted 06 Mar 2013 Link to this post

    Hello Telerik,

    In new version Q1 2013 I have issue how to show all items (records) when user typed to combobox some characters, choose filtered item and then delete selected item's text. In previous versions Q2 2013, this worked without problems.

    You can find the same behaviour in demo example:
    http://demos.telerik.com/aspnet-ajax/combobox/examples/overview/defaultcs.aspx

    Steps to reproduce my problem.
    1. Type to first combobox text anis
    2. Records are filtered and just one record  has left with text Aniseed Syrup
    3. Clik on selected item or press Enter key. Now, combobox has selected item
    4. Click on same combobox stelected item and press Delete key

    After set 4, normally all records had been shown, but in Q1 2013 nothing is shown. Is is bug or do I make some mistake ?

    This problem is appeared only in IE browsers (v.8,v.9).

    Please help me to solve this issue.

    Best regrads

    Vasssek 
  2. Max Petersen
    Max Petersen avatar
    3 posts
    Member since:
    Feb 2009

    Posted 07 Mar 2013 Link to this post

    We are having the same problem.
    A few observations:

    Using the 'Backspace' key triggers the normal behavior.
    We only experience this problem in Internet Explorer.

     Firefox and Safari works fine with the del key.

  3. Vasssek
    Vasssek avatar
    190 posts
    Member since:
    Aug 2010

    Posted 10 Mar 2013 Link to this post

    Hello,

    today I have found the way, how it could work as expected even in IE browser.

    In radcombo asp declaration add event:
    OnClientKeyPressing="artikel_OnClientKeyPressing"
     
    and the javascript code is:
    function artikel_OnClientKeyPressing(sender, eventArgs) {
    var keyCode = eventArgs.get_domEvent().keyCode;
    if (keyCode == 127) // This means DEL key
    {
    sender.clearSelection();
    sender.set_value("");
    sender.set_text("");
    sender._applyEmptyMessage();
    //__doPostBack(sender.get_id(), false);
    sender.requestItems("", true);
    }
    }

    When user pressed a DEL key, it initiates a load on demand callback request with the specified text, causing the ItemsRequested server event to fire...

    To Telerik: please fix this bug asap.

    Have a nice day

    Vasssek

  4. Answer
    Nencho
    Admin
    Nencho avatar
    1876 posts

    Posted 11 Mar 2013 Link to this post

    Hello,

    The described problematic behavior is indeed a bug and it is already logged.

    Thank you for your involvement.   

    Greetings,
    Nencho
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  5. Vasssek
    Vasssek avatar
    190 posts
    Member since:
    Aug 2010

    Posted 03 Apr 2013 Link to this post

    Hello,

    This problem seems to be solved in the last build 2013.1.326.40 :-))

    Vasssek
Back to Top