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
615
False Client-side selectionchanged firing
posted

Hi,

I have found that if a user types the Home or End keys in the "text box" portion of the WebDropDown control (in order to see text that is hidden, for instance) this triggers the SelectionChanged Client event, but the selection has not changed, and the corresponding server event is not fired.  I worked around this by having the event check for these keys, as in the following code:

function EmployeeNameWebDropDown_SelectionChanged(sender, eventArgs)

{

///<summary>

///

///</summary>

///<param name="sender" type="Infragistics.Web.UI.WebDropDown"></param>

///<param name="eventArgs" type="Infragistics.Web.UI.DropDownSelectionEventArgs"></param>

 

    var event = eventArgs.get_browserEvent();

    var keyCode = event.keyCode;

    if (keyCode == 35 || keyCode == 36)

        alert('I am under no illusions that the selection was changed.');

    else

        alert('I think the selection was changed!');

}

 

Does anyone know if this will be fixed, or are there other key codes I should watch for, or am I missing something?

Thank you,

Ross

Parents Reply Children
No Data