﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebGrid Enterprise - WebGrid.NET' s keystrokes to exit from it</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGridNET-s-keystrokes-to-exit-from-it/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>WebGrid.NET' s keystrokes to exit from it</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGridNET-s-keystrokes-to-exit-from-it/</link><pubDate>Fri, 18 Jun 2010 11:57:08 GMT</pubDate><dc:creator>andi@intersoftpt.com</dc:creator><category>WebGrid</category><description>&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;Hi Fabrizio,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; Yes, that would be a default behavior of our WebGrid. We will need to handle this manually. Attached is a sample to handle that scenario. Please kindly take a look and give me a feedback regarding that. Also, I am using Northwind as a database.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; In my sample, I have also managed for both options, on cell select and on cell edit mode. Both of them, will be automatically go to the next first row of the second WebGrid component.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;I hope it can help. Thank you and have a nice day.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;Best Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;Andi Santoso&lt;/span&gt;&lt;/p&gt;</description></item><item><title>WebGrid.NET' s keystrokes to exit from it</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGridNET-s-keystrokes-to-exit-from-it/</link><pubDate>Fri, 18 Jun 2010 06:18:24 GMT</pubDate><dc:creator>fabdellacorte</dc:creator><category>WebGrid</category><description>&lt;p&gt;Hi Andy,&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;the version of WebGrid is 7.0.7200.402&lt;/p&gt;
&lt;p&gt;Probably is not clear what I wrote.  Example if I have two webGrids, when with tab arrive on the last cell (in the last row) of first grid, according to me when hit tab key, the focus should move on the next component (the second grid).&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Let me know what do you thinks about it&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;kind regards&lt;br /&gt;&lt;/p&gt;</description></item><item><title>WebGrid.NET' s keystrokes to exit from it</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGridNET-s-keystrokes-to-exit-from-it/</link><pubDate>Thu, 17 Jun 2010 12:09:20 GMT</pubDate><dc:creator>andi@intersoftpt.com</dc:creator><category>WebGrid</category><description>&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;Hi Fabrizio,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; Forgive me, however, I am not able to replicate your issue. I have tried to press tab button when it arrives at the last cell and eventually, it will go to the next row.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; May I know your WebGrid's version and build please? Also, please ensure that you are using the lates build of WebGrid. Thank you and have a nice day.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;Best Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;Andi Santoso&lt;/span&gt;&lt;/p&gt;</description></item><item><title>WebGrid.NET' s keystrokes to exit from it</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGridNET-s-keystrokes-to-exit-from-it/</link><pubDate>Wed, 16 Jun 2010 11:52:19 GMT</pubDate><dc:creator>fabdellacorte</dc:creator><category>WebGrid</category><description>&lt;p&gt;Andy thanks for you answer.&lt;/p&gt;&lt;p&gt;I would like to know why if I navigate between cells with tab, when arrive to last cell of last row , the tab doesn't go to the next component but the focus stuck there.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>WebGrid.NET' s keystrokes to exit from it</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGridNET-s-keystrokes-to-exit-from-it/</link><pubDate>Wed, 16 Jun 2010 09:53:52 GMT</pubDate><dc:creator>andi@intersoftpt.com</dc:creator><category>WebGrid</category><description>&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;Hi Fabrizio,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; In order to use the keystrokes to lost focus from WebGrid and set focus to other component in asp page, we can use OnKeyDown client side event of a WebGrid. Here is a snippet to set the focus to other component, i.e a simple TextBox, with a "tab" button.&lt;/span&gt;&lt;/p&gt;
&lt;p /&gt;&lt;pre&gt;&lt;span style="font-size: 9pt; "&gt;        function WebGrid1_OnKeyDown(controlId, tblName, rowIndex, cellIndex)
        {
            var grid = ISGetObject(controlId);
            var getSelectedObject = grid.GetSelectedObject().ToRowObject();
            if (getSelectedObject.cells == null)
            {
                if (event.keyCode == "9")
                {
                    var textbox = document.getElementById("TextBox1");
                    textbox.focus();
                }
            }

        }&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;However, since I am using a tab button, which can be used to change to the next cell during an editing, we will need to make an exception in here. After we have done or exit from edit mode and press tab, it will set focus to text box in asp page.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; I hope it can help and please do not hesitate to ask if you have any other questions. Thank you and have a nice day.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;Best Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;Andi Santoso&lt;/span&gt;&lt;/p&gt;
&lt;p /&gt;</description></item><item><title>WebGrid.NET' s keystrokes to exit from it</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGridNET-s-keystrokes-to-exit-from-it/</link><pubDate>Wed, 16 Jun 2010 03:49:19 GMT</pubDate><dc:creator>fabdellacorte</dc:creator><category>WebGrid</category><description>&lt;p&gt;Good morning support,&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I have a question:&lt;/p&gt;
&lt;p&gt;I read the document with 'WebGrid.NET supports standard keystrokes' but I don't find (using only the keystrokes) how exit from WebGrid component to move the focus on the another component in the asp page, because also if I exit from edit mode, I'm not able to release the focus from grid by keystrokes&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;May you help me ?&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;thanks in advanced&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Fabrizio&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>