Ticket T297626
Visible to All Users

ASPxGridLookup - ASPxClientGridLookup.GetGridView().Focus method does not work as expected after T293425 hotfix

created 9 years ago (modified 9 years ago)

[DevExpress Support Team: CLONED FROM T293425: ASPxGridLookup inside a grid's EditItemTemplate displays empty column values after filtering]
We updated our system to the version of the hotfix. It did fixed the issue, that we stated above, but it seems like its broke other functionality, that we had working before.
We had the following client side event defined in the grid lookup :
<ClientSideEvents DropDown="function (s,e) { s.GetGridView().Focus(); }"  />
we need this to allow user to use up/down buttons to navigate the grid lookup after the gridlookup is displayed.
Something changed with the timing it seems, because when we supply small data for the datasource, its seems like working ok,
but when we use it on production, we have different picture. When user types text in the edit field, grid lookup is shown for a moment and gone.
please see in the attached video.

Answers approved by DevExpress Support

created 9 years ago (modified 9 years ago)

Hello Andrey,

Updated:

Having discussed this behavior with my team, we concluded that there is no need to call the Focus method at all. An embedded grid is always automatically focused after a user types a value (see the attached video).
You can also test this behavior on our Incremental Filtering  demo.

    Show previous comments (1)
    Artem (DevExpress Support) 9 years ago

      Hi Andrey.

      Having discussed this behavior with my team, we concluded that there is no need to call the Focus method at all. An embedded grid is always automatically focused after a user types a value (see the attached video).
      You can also test this behavior on our Incremental Filtering  demo.
      Check this behavior on your side without this code and let me know of your results.

      AK AK
      Andrey Krasnov 2 9 years ago

        Hello, Helen. that's what we ended up doing as well. We removed the focus and it works OK now.
        But focus is only one thing, affected. I am afraid, there might be other calls, that will be affected by the timing change in the latest build.
        Anyways, this particular issue/ ticket can be closed as not needed anymore.
        thanks,.

        Artem (DevExpress Support) 9 years ago

          OK, Andrey. Feel free to contact us in case of further difficulties.

          Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

          Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.