﻿<?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 - Cell's ActivateEdit causing JS exception when cell isn't in scrolling window within WebGrid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Cells-ActivateEdit-causing-JS-exception-when-cell-isnt-in-scrolling-window-within-WebGrid/</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>Cell's ActivateEdit causing JS exception when cell isn't in scrolling window within WebGrid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Cells-ActivateEdit-causing-JS-exception-when-cell-isnt-in-scrolling-window-within-WebGrid/</link><pubDate>Wed, 08 Dec 2010 21:54:20 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hello Shawn,&lt;/p&gt;
&lt;p&gt;As you can see in my sample test, it works well. Please try to see if there are some settings that are needed to replicate the issue.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>Cell's ActivateEdit causing JS exception when cell isn't in scrolling window within WebGrid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Cells-ActivateEdit-causing-JS-exception-when-cell-isnt-in-scrolling-window-within-WebGrid/</link><pubDate>Wed, 08 Dec 2010 11:46:53 GMT</pubDate><dc:creator>SAgosto</dc:creator><description>&lt;p&gt;Actually, it appears to be a either the ActivateEdit and/or the Row's Select() Method... Really odd.. I can't seem to reproduce in another project. No problem with either method if the scrollbar is all the way to the LEFT... Very odd.&lt;/p&gt;</description></item><item><title>Cell's ActivateEdit causing JS exception when cell isn't in scrolling window within WebGrid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Cells-ActivateEdit-causing-JS-exception-when-cell-isnt-in-scrolling-window-within-WebGrid/</link><pubDate>Tue, 07 Dec 2010 23:33:00 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hello Shawn,&lt;/p&gt;
&lt;p&gt;I am not using FrozenColumn in my attached sample. It works well when activate edit. Please ensure you use our latest hotfixes. &lt;br /&gt;If my sample does not describe any of your scenario, please modify the sample so It can replicate the issue. I need to it to investigate your issue.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>Cell's ActivateEdit causing JS exception when cell isn't in scrolling window within WebGrid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Cells-ActivateEdit-causing-JS-exception-when-cell-isnt-in-scrolling-window-within-WebGrid/</link><pubDate>Tue, 07 Dec 2010 16:47:59 GMT</pubDate><dc:creator>SAgosto</dc:creator><description>&lt;p&gt;A possible fix would be to use the FrozenColumns property to force the column to always be visible but that is not desired by my users. Can you confirm this bug and is there a fix in place or a work around? Than&lt;/p&gt;&lt;pre&gt;&amp;lt;FreezePaneSettings AbsoluteScrolling="True" ActiveFrozenColumns="3" MaxFrozenColumns="3"
                        ShowInContextMenu="False" ShowSplitterLine="False" SplitterLineColor="ActiveBorder"
                        SplitterLineWidth="1" /&amp;gt;&lt;/pre&gt;

&lt;p&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Cell's ActivateEdit causing JS exception when cell isn't in scrolling window within WebGrid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Cells-ActivateEdit-causing-JS-exception-when-cell-isnt-in-scrolling-window-within-WebGrid/</link><pubDate>Tue, 07 Dec 2010 16:40:32 GMT</pubDate><dc:creator>SAgosto</dc:creator><description>&lt;p&gt;I have a common method that is used to SELECT a row and ACTIVATEEDIT on a specified field. This code works fine when the cell that is specified is viewable within the WebGrid's scrollable window. For example, if a horizontal scrollbar occurs and this code is execute, the ActivateEdit generates an exception:&lt;/p&gt;
&lt;p&gt;Invalid argument&lt;/p&gt;&lt;pre&gt;function WebGrid_SelectRow(gridID, row, fieldName)
{
    try 
    { 
        if (IsNullOrEmpty(gridID) == true) { return; }
        if (row == null) { return; }

        // Select Row
        // NOTE: Ensure more data is not loaded causing unnecessary postback
        var grid = WebGrid_GetGrid(gridID);
        if (grid == null) { return; }
        var haltLoadMore = grid.HaltLoadMore;
        grid.HaltLoadMore = true;
        row.Select();
        
        // ActivateEdit on specified field
        if (IsNullOrEmpty(fieldName) == false) 
        {
            var cells = row.GetCells();
            if (cells != null) 
            {
                var field = cells.GetNamedItem(fieldName);
                if (field != null) { field.ActivateEdit(); }
            }                
        }            
        
        grid.HaltLoadMore = haltLoadMore;
    }
    catch (ex) { ShowJSException(ex); }
}&lt;/pre&gt;
</description></item></channel></rss>