﻿<?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 - how to switch to next column after webgrid1_onentereditmode</title><link>http://www.intersoftsolutions.com/Community/WebGrid/how-to-switch-to-next-column-after-webgrid1onentereditmode/</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>how to switch to next column after webgrid1_onentereditmode</title><link>http://www.intersoftsolutions.com/Community/WebGrid/how-to-switch-to-next-column-after-webgrid1onentereditmode/</link><pubDate>Wed, 05 Dec 2012 22:17:25 GMT</pubDate><dc:creator>bernard</dc:creator><description>&lt;p&gt;Hi Eray,&lt;/p&gt;&lt;p&gt;You can try this code on your local end&lt;/p&gt;
&lt;p /&gt;&lt;pre&gt;function WebGrid1_OnEnterEditMode(controlId, tblName, editObject)
{
    var WebGrid1 = ISGetObject("WebGrid1");
    if (editObject.ToCellObject().Name == "CustomerID")
    {
        WebGrid1.ExitEditMode(true);
        editObject.ToCellObject().Row.GetCells()[editObject.ToCellObject().Row.Position &amp;#43; 1].Select();
    }
    return true;
}&lt;/pre&gt;
&lt;p&gt;In CustomerID column I didn't put EditType value as NoEdit value. This will trigger OnEnterEditMode. Then my code will return false so WebGrid won't show it's textbox and put the focus on the next table. Please let me know if this solution working and meet you requirement. Hope this helps.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Bernard&lt;/p&gt;
&lt;p /&gt;</description></item><item><title>how to switch to next column after webgrid1_onentereditmode</title><link>http://www.intersoftsolutions.com/Community/WebGrid/how-to-switch-to-next-column-after-webgrid1onentereditmode/</link><pubDate>Wed, 05 Dec 2012 09:36:23 GMT</pubDate><dc:creator>macedes</dc:creator><description>&lt;p&gt;i want to check in the function webgrid1_onentereditmode if the selected row is valid, if not then it shouuld go(focus) to the next column. how can i do that?&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;thanks in advance&lt;/p&gt;</description></item></channel></rss>