﻿<?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 - freeze</title><link>http://www.intersoftsolutions.com/Community/Tags/freeze/</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>IE freeze after webgrid filter</title><link>http://www.intersoftsolutions.com/Community/Tags/freeze/</link><pubDate>Thu, 02 Jun 2011 09:17:20 GMT</pubDate><dc:creator>jelsner1976@gmail.com</dc:creator><category>WebGrid</category><category>Filter</category><category>IE</category><category>freeze</category><category>crash</category><description>&lt;pre&gt;I have a grid defined as below on a couple different pages.  On one of the pages that uses this, IE 8 will freeze up after they perform a filter on one of the columns.&lt;br /&gt;This only happens for certain users.  Are there any IE settings, add-ons, etc. that I should look for that can cause this behaviour.&lt;br /&gt;Again it works fine for most users, it is only some users and only one of the pages that uses the grid as defined below.&lt;br /&gt;The other pages use the same code and it works fine.&lt;br /&gt;&lt;br /&gt;&amp;lt;ISWebGrid:WebGrid ID="_webGrid" runat="server" Height="300px" UseDefaultStyle="True"
                Width="100%" DataMember="BusinessUnitCollection" DataSourceID="_businessUnitsDataSource"
                OnExport="_webGrid_Export"&amp;gt;
                &amp;lt;RootTable Caption="BusinessUnitCollection" DataMember="BusinessUnitCollection" DataKeyField="BusinessUnitID"&amp;gt;
                    &amp;lt;Columns&amp;gt;
                        &amp;lt;ISWebGrid:WebGridColumn AllowGrouping="No" AllowSizing="No" AllowSorting="No" Bound="False"
                            ColumnType="CheckBox" EditType="NoEdit" IsRowChecker="True" Name="RowChecker"
                            ShowInSelectColumns="No" Width="30px"&amp;gt;
                        &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                        &amp;lt;ISWebGrid:WebGridColumn Caption="#" DataMember="BusinessUnitID" Name="BusinessUnitID"
                            Width="50px"&amp;gt;
                        &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                        &amp;lt;ISWebGrid:WebGridColumn Caption="Property" DataMember="Name" Name="Name" Width="180px"&amp;gt;
                        &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                        &amp;lt;ISWebGrid:WebGridColumn Caption="Super Region" DataMember="SuperRegion" Name="SuperRegion"
                            Width="120px"&amp;gt;
                        &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                        &amp;lt;ISWebGrid:WebGridColumn Caption="Region" DataMember="Region" Name="Region" Width="120px"&amp;gt;
                        &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                        &amp;lt;ISWebGrid:WebGridColumn Caption="Vintage" DataMember="Vintage" Name="Vintage" Width="200px"&amp;gt;
                        &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                        &amp;lt;ISWebGrid:WebGridColumn Caption="Property Manager" DataMember="PropertyManager"
                            Name="PropertyManager" Width="180px"&amp;gt;
                        &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                    &amp;lt;/Columns&amp;gt;
                &amp;lt;/RootTable&amp;gt;
                &amp;lt;LayoutSettings AllowFilter="Yes" AutoHeight="True" PagingMode="VirtualLoad" PagingSize="50"
                    SizeHeightBy="-30" VirtualLoadMode="LargeData" AllowExport="Yes" AllowSorting="Yes"&amp;gt;
                    &amp;lt;ClientSideEvents OnInitialize="_webGrid_OnInitialize" /&amp;gt;
                &amp;lt;/LayoutSettings&amp;gt;
                &amp;lt;FlyPostBackSettings PostInputControls="True" /&amp;gt;
            &amp;lt;/ISWebGrid:WebGrid&amp;gt;&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Wrong column is freezed when freeze pane after grouping column</title><link>http://www.intersoftsolutions.com/Community/Tags/freeze/</link><pubDate>Thu, 30 Dec 2010 03:15:24 GMT</pubDate><dc:creator>interfung</dc:creator><category>freeze</category><category>Freeze Pane</category><category>group column</category><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I tried to freeze a column after group, it ends up freezing the wrong column. Please kindly help.&lt;/p&gt;
&lt;p&gt;Attached Image for your reference.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thanks and Regards,&lt;/p&gt;
&lt;p&gt;Fung&lt;/p&gt;</description></item><item><title>How to enable / disable freezing depending on data</title><link>http://www.intersoftsolutions.com/Community/Tags/freeze/</link><pubDate>Fri, 03 Sep 2010 09:41:51 GMT</pubDate><dc:creator>Eric</dc:creator><category>dynamically</category><category>freeze</category><category>crash</category><category>column</category><category>InitializeDataSource</category><category>frozen</category><category>Freeze Pane</category><category>enable</category><category>disable</category><category>scrollable</category><description>&lt;p&gt;There is a related sample in this thread: &lt;a href="http://www.intersoftpt.com/Community/WebGrid/WebGrid-crash-scrolling-freeze-column-hidden/"&gt;http://www.intersoftpt.com/Community/WebGrid/WebGrid-crash-scrolling-freeze-column-hidden/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;When I have no data for the grid, I want to hide all columns, create my own dataset add a row and write the text "no data" into this first row's first column. This is done in the InitializeDataSource event.&lt;/p&gt;
&lt;p&gt;In PreRender event I check if there is only this one row with this special text. If yes, I hide all columns (now works after you fixed the crash mentioned in the other thread).&lt;/p&gt;
&lt;p&gt;Problem is now that I cannot dynamically enable/disable the column freezing. For normal display, I want the first column to freeze (not modifiable by user). But when I hide all columns when no data is present, I get the error message "Freeze Pane cannot be activated on this column because it has exceeded the maximum size of scrollable viewport."&lt;/p&gt;
&lt;p&gt;I assume this is because there is nothing to show (message is probably slightly wrong). So I should disable the frozen columns in the PreRender event somehow. I couldn't get that working. Or leave freezing away in aspx page and enable it for normal data.&lt;/p&gt;
&lt;p&gt;In grid's LayoutSettings I have:&lt;/p&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;
&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;FreezePaneSettings&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;AbsoluteScrolling&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;="true"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;ActiveFrozenColumns&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;="1"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;MaxFrozenColumns&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;="1"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;ShowSplitterLine&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;="False"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;/&amp;gt; 

&lt;/span&gt;&lt;/span&gt;In PreRender I tried to disable these values without success. I also tried leaving the above tag away and adding these values in PreRender. 

&lt;p&gt;I also tried to set/change the value &lt;span style="font-size: 13px"&gt;grdResult.LayoutSettings.AllowColumnFreezing&lt;/span&gt;. But that caused WebGrid to crash in some JavaScript.&lt;/p&gt;
&lt;p&gt;How do I disable/enable column freezing depending on the data I have?&lt;/p&gt;</description></item><item><title>WebGrid crashes when scrolling with column freeze and setting a column hidden</title><link>http://www.intersoftsolutions.com/Community/Tags/freeze/</link><pubDate>Fri, 08 Jan 2010 08:43:18 GMT</pubDate><dc:creator>Eric</dc:creator><category>freeze</category><category>crash</category><category>visible</category><category>column</category><category>hiding</category><category>scroll</category><category>PreRender</category><category>InitializeDataSource</category><category>InitializeLayout</category><description>&lt;p&gt;&lt;span style="font-size: 13px; color: #000000"&gt;&lt;span style="font-size: 13px; color: #000000"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000"&gt;&lt;span style="font-size: 13px"&gt;&lt;span style="font-size: 13px"&gt;I experience that WebGrid crashes, when the user horizontally scrolls. This happens only when I set the first column to be frozen. It also only happens when I set some columns to hidden (Visible=false).&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #000000"&gt;&lt;span style="font-size: 13px"&gt;&lt;span style="font-size: 13px"&gt;Attached is a simple sample in VB.NET for that (remove the .txt in the file names). Simplified, the sample contains:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;span style="color: #000000"&gt;&lt;span style="font-size: 13px"&gt;&lt;span style="font-size: 13px"&gt;An aspx file with the WebGrid "grdResult" and the columns "Description", "X1", "X2",..."X9"&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color: #000000"&gt;&lt;span style="font-size: 13px"&gt;&lt;span style="font-size: 13px"&gt;&amp;lt;FreezePaneSettings AbsoluteScrolling="true" ActiveFrozenColumns="1" MaxFrozenColumns="1" ShowSplitterLine="False" /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color: #000000"&gt;&lt;span style="font-size: 13px"&gt;&lt;span style="font-size: 13px"&gt;In the aspx.vb code file there is a handler for InitializeDataSource which adds some static data to show, so that the grid is not empty&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color: #000000"&gt;&lt;span style="font-size: 13px"&gt;&lt;span style="font-size: 13px"&gt;In the handler PreRender I change some column titles (from X1 to C1 etc.) and set two columns to Visible=False&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;span style="color: #000000"&gt;&lt;span style="font-size: 13px"&gt;&lt;span style="font-size: 13px"&gt;When scrolling, it crashes with: "Microsoft JScript runtime error: 'parentElement' is null or not an object" (Break/Continue/Ignore). The debugger then stands on this JScript code: "var v1d119 =vfcb75.parentElement" (and vfcb75 is null).&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #000000"&gt;&lt;span style="font-size: 13px"&gt;&lt;span style="font-size: 13px"&gt;I believe this is a bug in WebGrid. We are using the newest&amp;nbsp;WebGrid 6.0.7200.218 and Framework 3.0.5000.705 and the users use&amp;nbsp;Internet Explorer 6 to browse the page.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Can you confirm that this is a bug? If yes, will there be a hotfix available soon? Is there any workaround except not to use freezing or hiding?&lt;/p&gt;&lt;/span&gt;&lt;/span&gt;</description></item></channel></rss>