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
60
Tab key nog being caught by keydown event in UltraWebGrid
posted

For some strange reason, the keydown event is not raised when pressing the tab key in an UltraWebGrid. I want to change the default action which changes the selected row to the next (tab) or the previous (shift-tab).

Is this a bug or intended behaviour?

Paul

Parents
No Data
Reply
  • 28464
    posted

    This is weird, I have just tried to reproduce this problem with the following setup:

        <igtbl:UltraWebGrid ID="UltraWebGrid1" runat="server" Height="200px"
            Width="325px">   
            <DisplayLayout>
                <ClientSideEvents KeyDownHandler="keyDown" />
            </DisplayLayout> 
        </igtbl:UltraWebGrid>
       
       
        <script type="text/javascript">
       
        function keyDown(gridID, rowID, keyCode)
        {
            if (keyCode == 9)
            {
                alert("Tab Is Pressed");
            }
        }
       
        </script>
      

    and everything worked as expected. What is different in your case? Do you handle the keyDown client-side event or something else? 

Children
No Data